1
0
mirror of synced 2026-01-20 09:34:58 +00:00

82 Commits

Author SHA1 Message Date
Axel Beckert
81511000d8 Run t/gitignore.t only if git is installed and .git present 2013-10-29 00:09:03 +01:00
Axel Beckert
dcb9284636 Remove unused Perl modules Xen::Tools and Xen::Tools::Log
Further developement of the (if any) will happen in the git branch
"xen-tools-moose" where they are still available.

Also remove the according (already disabled) tests and test
modifications from the test suite.

Also remove no the more needed build-dependency on Moose as well as
one Makefile line installing the above mentioned Perl modules.
2013-04-18 20:17:33 +02:00
Axel Beckert
07622d8ed0 t/xen-delete-image.t: Check xen-delete-image exit code
Also run xen-delete-image verbose and print output.
2013-04-18 16:26:55 +02:00
Axel Beckert
081c0370d4 Properly clean up after t/xt-create-xen-config.t 2013-04-18 16:21:25 +02:00
Axel Beckert
5a48067d9e Make some x-c-i commandline options negatable
Update documentation and tests accordingly.

Also add pygrub = 1 as example to xen-tools.conf, now that the effect
can be reversed via commandline options.
2013-04-11 15:51:31 +02:00
Axel Beckert
01e525106b Use Test::NoTabs in t/no-tabs.t 2013-03-05 23:07:04 +01:00
Axel Beckert
3456849ec8 Make t/xen-lists-images.t more strict: No more /i 2013-01-17 22:17:37 +01:00
Axel Beckert
c6caa0a0ad Fix "--extension=" with empty parameter 2013-01-17 21:57:50 +01:00
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