Hi,
The unibyte-bracket-expr test does 'cp $in /t' which, if the tests are
being run as root, will cause '/t' to be created (and obviously, if the
tests aren't being run as root, that command should fail). The attached
patch simply removes that copy command, as that didn't affect the status
of the test on my machine (x86 Linux) and I couldn't see any other
reference to '/t'.
Regards,
Matt.
diff -Naur grep-2.9.orig/tests/unibyte-bracket-expr
grep-2.9/tests/unibyte-bracket-expr
--- grep-2.9.orig/tests/unibyte-bracket-expr 2011-06-21 17:16:08.000000000
+0000
+++ grep-2.9/tests/unibyte-bracket-expr 2011-08-31 19:00:55.745060571 +0000
@@ -32,7 +32,6 @@
in=in-$i$j
b=$(printf "\\x$i$j")
echo "$b" > $in || framework_failure_
- cp $in /t
grep "[$b]" $in > out || fail=1
compare out $in || fail=1
done