1
0
mirror of synced 2026-01-24 02:57:32 +00:00

1386 Commits

Author SHA1 Message Date
Axel Beckert
b7c1cd9d8a xen-resize-guest: Don't read config file if it doesn't exist as xen-create-image does 2010-07-16 17:30:08 +02:00
Axel Beckert
cc64623752 Make t/getopt.t parse '|' in GetOpt definitions 2010-07-16 17:19:17 +02:00
Stéphane Jourdois
660569dffe Use skip_all rather than SKIP block
This makes prove t output less verbose
2010-07-16 16:56:24 +02:00
Axel Beckert
3d9621293c For now use blanks instead of tabs 2010-07-16 16:56:13 +02:00
Stéphane Jourdois
18f2582648 Export partitions in test and use xvda as default
This test now passes.
2010-07-16 16:48:51 +02:00
Stéphane Jourdois
05def34ca4 Get extension from command line and not from environment
This helps t/xt-create-xen-config to pass.
2010-07-16 16:48:51 +02:00
Axel Beckert
82fae6a5bc Consistent code style for hash value accesses 2010-07-16 16:48:25 +02:00
Stéphane Jourdois
9e738bfb5f Test variable before use 2010-07-16 16:27:42 +02:00
Stéphane Jourdois
14846e85fd Use rmtree not rmdir
rmdir does not remove dir when not empty. Use rmtree for that.
makes t/xen-delete-image test pass.
2010-07-16 16:27:42 +02:00
Stéphane Jourdois
a262d30b1a Remove trailing space 2010-07-16 16:27:42 +02:00
Stéphane Jourdois
fabb5df2e6 Typo 2010-07-16 16:27:42 +02:00
Stéphane Jourdois
bf9c56d42c Remove trailing whitespace
Makes t/test-trailing-whitespace.t pass
2010-07-16 16:27:42 +02:00
Stéphane Jourdois
90b931a906 Print file
Helps debugging
2010-07-16 16:27:42 +02:00
Stéphane Jourdois
aaa6cdc60c Replace single quotes by doubles quotes in scripts
This helps make t/quoted-strings.t pass.
2010-07-16 16:27:42 +02:00
Stéphane Jourdois
4ae530231c Print file
Helps debugging when this test fails
2010-07-16 16:27:42 +02:00
Stéphane Jourdois
ddb999d952 Remove trailing spaces
This helps t/pod-check.t to pass on this file.
2010-07-16 16:27:42 +02:00
Stéphane Jourdois
1e1d3a536a Typo 2010-07-16 16:27:42 +02:00
Stéphane Jourdois
9e5ffdac00 Remove done_testing call.
done_testing appeared in Test::More 0.87, which is not in perl 5.10,
and therefore not in debian stable.
This makes t/perl-syntax.t pass on debian stable and causes no more
trouble.
2010-07-16 16:27:42 +02:00
Stéphane Jourdois
bd840ba071 Replace tabs with spaces
This makes t/no-tabs.t pass.
I'm responsible for some tabs in previous patches, so this
fixes mine also :)

Note that I find this test silly, but "dura lex, sed lex"...
2010-07-16 16:27:42 +02:00
Stéphane Jourdois
c5b4f4bc73 Test file before modifying
This shuts down errors during t/hook-inittab.t proving, and does
not modify hook during real run.
2010-07-16 16:27:42 +02:00
Axel Beckert
43604afa6d Merge Stéphane's and my commit which both changed tty1 to hvc0 in t/hook-inittab.t 2010-07-15 19:02:17 +02:00
Axel Beckert
97fd12a079 Merge commit '66a4a39' 2010-07-15 19:00:05 +02:00
Axel Beckert
fde912c940 Merge commit '6a66d4f' 2010-07-15 18:59:31 +02:00
Axel Beckert
e0b1d90447 Also use hvc0 instead of tty1 in t/hook-inittab.t 2010-07-15 18:56:13 +02:00
Axel Beckert
baf965da09 Stay backwards compatible and still allow -s and -m 2010-07-15 18:50:02 +02:00
Axel Beckert
b898cdb064 Merge commit '9e43d6a' 2010-07-15 18:47:16 +02:00
Axel Beckert
3adee1bc2d Merge commit '4021344' 2010-07-15 18:21:01 +02:00
Axel Beckert
d1a653f565 Merge commit 'd36672f' 2010-07-15 18:20:10 +02:00
Axel Beckert
9f517cb4c3 Re-add --genpass-len for backwards compatibility 2010-07-15 18:18:52 +02:00
Axel Beckert
f115c3db60 Merge commit '0f751d1' 2010-07-15 18:17:32 +02:00
Axel Beckert
e6f57bdebe Re-add --no-hosts and --copy-hosts for backwards compatibility and declare them deprecated 2010-07-15 18:14:16 +02:00
Stéphane Jourdois
0e039f39c5 Use hvc0 instead of tty1.
hvc0 is the new default serial line.
2010-07-15 14:18:19 +02:00
Stéphane Jourdois
66a4a399ab Use intrepid sed script for inittab
This makes t/hook-inittab.t pass for this hook.
2010-07-15 14:18:19 +02:00
Stéphane Jourdois
6a66d4f068 Disable other getty lines as debian does.
This makes t/hook-inittab.t pass for this hook.
2010-07-15 14:18:19 +02:00
Stéphane Jourdois
9e43d6a268 Use long options for xt-guess-suite-and-mirror 2010-07-15 14:18:19 +02:00
Stéphane Jourdois
4021344d94 Strip single quotes as well as double quotes. 2010-07-15 14:18:19 +02:00
Stéphane Jourdois
d36672f8d8 Update indentation for options.
This helps t/getopt.t to pass.
2010-07-15 14:18:19 +02:00
Stéphane Jourdois
0f751d1d26 Rename genpass-len to genpass_len to match default config.
This makes prove t/argument-check.t pass.
2010-07-15 14:18:19 +02:00
Stéphane Jourdois
d8e4774bcf Remove hyphen in options.
Options no-hosts and copy-hosts do not have hyphens in default
configuration.
This helps to prove t/argument-check.t.
2010-07-15 14:18:19 +02:00
Stéphane Jourdois
a6cd6d6eb0 Use same conventions for options as other scripts.
This makes t/getopt.t pass.
2010-07-15 14:18:19 +02:00
Stéphane Jourdois
c0c5c3a8f4 Skip Xen::Tools tests
Those modules are not used for now.
2010-07-15 14:18:19 +02:00
Axel Beckert
4b58d7a1c4 Add Stéphane Jourdois to AUTHORS 2010-07-15 09:32:30 +02:00
Axel Beckert
c78dc0ab77 Remove redundant * in string comparison, remove trailing whitespace 2010-07-15 09:29:05 +02:00
Axel Beckert
2bd526df23 Document how multiple nameservers should be delimited 2010-07-15 09:28:10 +02:00
Stéphane Jourdois
774dbd0fb9 Document vifname config option in xen-create-image
This new option was added by Dmitry Nedospasov <dmitry@nedos.net>
in commit c03029e0c6509489834312f888523dee3f7bc92d

Note that this option should not appear in default configuration,
as it is not meant to be used there.
2010-07-10 11:49:40 +02:00
Stéphane Jourdois
a2ea01f039 Document bridge config option in default configuration.
This new option was added by Dmitry Nedospasov <dmitry@nedos.net>
in commit c03029e0c6509489834312f888523dee3f7bc92d
2010-07-10 11:43:20 +02:00
Stéphane Jourdois
f032178de9 Add new nameserver config option
This optional config value is used in hooks to create domU resolv.conf.
If unset, domU's resolv.conf is created by the guest distrib install.
2010-07-10 11:38:03 +02:00
Stéphane Jourdois
09f38740c8 Use dom0 resolv.conf when chrooting
Temporarily use resolv.conf from dom0 when chrooting into domU,
to be able to run apt-get and yum inside chroot.

This permits to use different nameservers in domU, and does not
break install nor offline update from dom0.
2010-07-10 10:51:38 +02:00
Stéphane Jourdois
674557233f Use new script name in POD 2010-07-10 10:07:55 +02:00
Stéphane Jourdois
4e9b216c86 Typos 2010-07-10 09:58:24 +02:00