[xen-tools-dev] [PATCH 15/17] Use grep rather than rgrep.
Stéphane Jourdois
sjourdois at gmail.com
Sun Jul 25 14:12:47 CEST 2010
grep -r is really more standard than rgrep, and does the same thing.
chmod modules.t file.
---
t/modules.sh | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/t/modules.sh b/t/modules.sh
index 34eac2b..f9e2a15 100755
--- a/t/modules.sh
+++ b/t/modules.sh
@@ -25,10 +25,11 @@ use Test::More qw( no_plan );
EOF
-for i in `rgrep '^use ' .. | grep -v Expect | grep -v POSIX | grep -v Xen:: | grep -v Moose | awk '{print $2}' | tr -d
\;\(\) | sort | uniq`; \
+for i in `grep '^use ' -r .. | grep -v Expect | grep -v POSIX | grep -v Xen:: | grep -v Moose | awk '{print $2}' | tr -d
\;\(\) | sort | uniq`; \
do \
echo "BEGIN{ use_ok( '$i' ); }"; \
echo "require_ok( '$i' );" ; \
printf '\n' ; \
done
+chmod 750 modules.t
--
1.7.2
More information about the xen-tools-dev
mailing list