Testsuite: Let modules.sh ignore the .git directory
t/modules.t failed if a git commit message had a line starting with "use ".
This commit is contained in:
2
debian/changelog
vendored
2
debian/changelog
vendored
@@ -11,6 +11,8 @@ xen-tools (4.5+dev-1) UNRELEASED; urgency=medium
|
|||||||
lintian warning package-install-into-obsolete-dir)
|
lintian warning package-install-into-obsolete-dir)
|
||||||
+ Allows # within configuration file comments. (Closes: #783060;
|
+ Allows # within configuration file comments. (Closes: #783060;
|
||||||
thanks Jean-Michel Nirgal Vourgère for the bug report and patch!)
|
thanks Jean-Michel Nirgal Vourgère for the bug report and patch!)
|
||||||
|
+ Testsuite: Let modules.sh ignore the .git directory. (t/modules.t
|
||||||
|
failed if a git commit message had a line starting with "use ".)
|
||||||
* Update Vcs-* headers as Gitorious will close its doors in June.
|
* Update Vcs-* headers as Gitorious will close its doors in June.
|
||||||
* Recommend debian-archive-keyring (for installing Debian DomUs on
|
* Recommend debian-archive-keyring (for installing Debian DomUs on
|
||||||
derivatives) and ubuntu-archive-keyring (for installing Ubuntu DomUs
|
derivatives) and ubuntu-archive-keyring (for installing Ubuntu DomUs
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ use Test::More qw( no_plan );
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
||||||
for i in `grep '^use ' -r .. | grep -v Expect | grep -v POSIX | grep -v Xen:: | awk '{print $2}' | tr -d
|
for i in `grep '^use ' -r .. | egrep -v '^\./\.git/' | grep -v Expect | grep -v POSIX | grep -v Xen:: | awk '{print $2}' | tr -d
|
||||||
\;\(\) | sort | uniq`; \
|
\;\(\) | sort | uniq`; \
|
||||||
do \
|
do \
|
||||||
echo "BEGIN{ use_ok( '$i' ); }"; \
|
echo "BEGIN{ use_ok( '$i' ); }"; \
|
||||||
|
|||||||
Reference in New Issue
Block a user