1
0
mirror of synced 2026-01-14 15:35:18 +00:00

74 Commits

Author SHA1 Message Date
Axel Beckert
ab9b033068 Fix some whitespace issues in t/argument-check.t 2012-11-28 00:04:25 +01:00
Axel Beckert
16dd2d9f2f Use done_testing instead of no_plan 2012-11-28 00:04:07 +01:00
Axel Beckert
00bb137012 New xen-delete-image option --no-xen-ok for disabling xenRunning tests 2012-11-27 23:53:03 +01:00
Axel Beckert
6b64dcc122 Call scripts in tests with local library paths 2012-11-27 23:39:49 +01:00
Axel Beckert
494ec02a7c Merge branch 'master' into code-deduplication
Conflicts:
	bin/xen-create-image
	bin/xen-create-nfs
	bin/xt-create-xen-config
2012-11-27 22:40:08 +01:00
Axel Beckert
83eede665c Fix warning about no_plan usage in t/hook-inittab.t 2012-11-27 22:29:04 +01:00
Axel Beckert
6f2814f414 Merge branch 'master' into code-deduplication
Conflicts:
	bin/xen-create-image
2012-11-27 13:22:34 +01:00
Axel Beckert
d6e33edb5b Only run testTLSDisabling if distribution actually has 10-disable-tls 2012-06-27 01:49:56 +02:00
Axel Beckert
611d6c4eb4 Ignore hooks/common in t/hook-tls.t 2012-06-27 01:49:21 +02:00
Axel Beckert
0cde7cdf39 t/hook-tls.t: Always output tested distribution 2012-06-27 01:41:42 +02:00
Axel Beckert
cde5617a29 Use "rm -vf" instead of "-rm" in t/Makefile 2012-06-27 01:33:47 +02:00
Axel Beckert
74411f970b Remove t/modules.t in upstream's t/Makefile
... instead of remove it in debian/rules' clean target.

Call clean target of t/Makefile also from clean target of toplevel
Makefile.
2012-06-27 01:32:41 +02:00
Axel Beckert
917d3d6b2a Skip t/hook-inittab.t if /etc/inittab is not present
Fixes FTBFS on Ubuntu.
2012-06-08 18:41:58 +02:00
Axel Beckert
8ba16d0e7a Disable tests of not yet used Xen::Tools perl modules.
Fixes FTBFS in test suite due to not satisifed Moose dependency in
Xen::Tools::Log.
2012-06-08 17:37:28 +02:00
Axel Beckert
93b7cb3bf2 Make several tests not check files multiple times via symlinks 2012-06-04 19:08:12 +02:00
Axel Beckert
fc736c040d Refactoring: Massive code deduplication in hooks directory
All hooks files which were identical and had no second group of
identically named hook files have been moved to a new hooks/common
directory and now have symbolic links to the new single file at their
old locations.

Also slightly modified to make this work:

  * Makefile: copy new hooks/common directory
  * Some tests: ignore new hooks/common directory
2012-06-04 16:26:03 +02:00
Axel Beckert
a23f31077a Call commands in tests with proper search path for perl modules 2012-05-31 01:19:23 +02:00
Axel Beckert
ed91f1fc43 Merge branch 'master' into code-deduplication
Conflicts:
	bin/xen-create-image
2012-05-31 01:07:59 +02:00
Axel Beckert
625a6f6282 Make t/xen-tools.t not fail on package build
Note down that t/xen-tools.t is not really functional yet
2012-05-30 23:03:12 +02:00
Axel Beckert
1b4edee2d3 Use $ips instead of $IP_ADDRESSES to keep variable names consistent
Update t/xt-create-xen-config.t to cope with the new variable
2012-05-07 22:55:33 +02:00
Axel Beckert
8835b9134b Add lib to Perl search path in t/perl-syntax.t 2011-11-16 00:47:57 +01:00
Stéphane Jourdois
8589e0ca80 Add btrfs support. 2010-08-06 15:48:25 +02:00
Stéphane Jourdois
3499822e86 Use grep rather than rgrep.
grep -r is really more standard than rgrep, and does the same thing.
chmod modules.t file.
2010-07-26 20:24:37 +02:00
Stéphane Jourdois
8dfc7d7500 Less noisy make modules. 2010-07-26 20:24:37 +02:00
Stéphane Jourdois
ebdf51c262 Ignore generated t/modules.t file. 2010-07-26 20:24:37 +02:00
Stéphane Jourdois
395e3d0a0b Ignore ChangeLog. 2010-07-26 20:24:37 +02:00
Stéphane Jourdois
669b4c8f4f Typo & permisions. 2010-07-26 19:13:35 +02:00
Axel Beckert
5943a70574 Fix description: temporary files -> dot files 2010-07-23 14:54:20 +02:00
Stéphane Jourdois
ea09c86b7a Do not ignore serial_device nor disk_device
Harden mirror and options regexps also.
2010-07-23 13:29:56 +02:00
Stéphane Jourdois
0cb0a8716c Debootstrap only exists on Debian and Ubuntu
Do not fail this test on other distribs.
2010-07-23 13:29:56 +02:00
Axel Beckert
231fff9785 Shebang lines with /bin/bash are not wanted.
There maybe systems, especially in the BSD world, without bash.
2010-07-23 13:28:28 +02:00
Stéphane Jourdois
19d84a3d9e Harden this test.
Read and test only the shebang, not the whole file, +typos.

Ignore empty files.
2010-07-18 21:27:23 +02:00
Stéphane Jourdois
3b26e3f54f We do not care about git files nor temporary files 2010-07-18 21:27:23 +02:00
Stéphane Jourdois
6cc2e3c1c1 Help test to find modules
Pod::Coverages wants to find perl modules in @INC.
2010-07-18 21:27:23 +02:00
Stéphane Jourdois
85acd315bd Add a gitignore coherency test
This tests helps to maintain .gitignore up to date, by :
 - testing if all ignored files have to be ignored, and
 - testing if all untracked files are ignored.

[ Note : second version ]
Make test work on older git versions
I.e. the git version used on Debian stable.
2010-07-18 21:26:41 +02:00
Axel Beckert
8f18a42496 Replace tabs by 8 blanks (for now) 2010-07-16 18:07:12 +02:00
Axel Beckert
a04bae2be0 Skip t/xen-tools.t if not running as root (tries to mkdir -p /var/log/xen-tools) 2010-07-16 18:00:52 +02:00
Axel Beckert
c67d218cef Tighten t/quoted-strings.t a little bit against false positives 2010-07-16 17:52:34 +02:00
Axel Beckert
a4a39191e2 t/portable-shell.t: Don't check hooks under .git 2010-07-16 17:33:04 +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
a262d30b1a Remove trailing space 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
4ae530231c Print file
Helps debugging when this test fails
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
0e039f39c5 Use hvc0 instead of tty1.
hvc0 is the new default serial line.
2010-07-15 14:18:19 +02:00