1
0
mirror of synced 2026-02-01 05:52:01 +00:00

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:
Axel Beckert
2015-06-11 22:19:48 +02:00
parent d06abe6fe2
commit aacfb59fe5
2 changed files with 3 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ use Test::More qw( no_plan );
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`; \
do \
echo "BEGIN{ use_ok( '$i' ); }"; \