projects
/
xfstests-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fstests: fix group check in new script
[xfstests-dev.git]
/
new
diff --git
a/new
b/new
index bb427f0db23619f9032adc321738ef97483a4fb1..357983d93edd7525f2328e9c7f5376a7e269160d 100755
(executable)
--- a/
new
+++ b/
new
@@
-243,10
+243,7
@@
else
#
for g in $*
do
- if grep "^$g[ ]" $tdir/group >/dev/null
- then
- :
- else
+ if ! grep -q "[[:space:]]$g" "$tdir/group"; then
echo "Warning: group \"$g\" not defined in $tdir/group"
fi
done