diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mv/Makefile.am | 1 | ||||
-rwxr-xr-x | tests/mv/atomic | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/mv/Makefile.am b/tests/mv/Makefile.am index 927bac89b..57581cd88 100644 --- a/tests/mv/Makefile.am +++ b/tests/mv/Makefile.am @@ -46,5 +46,6 @@ TESTS = \ EXTRA_DIST = $(TESTS) vfat TESTS_ENVIRONMENT = \ PERL="$(PERL)" \ + EGREP="$(EGREP)" \ PATH="$(VG_PATH_PREFIX)`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \ PROG=mv diff --git a/tests/mv/atomic b/tests/mv/atomic index bb761bdc4..1fa07360f 100755 --- a/tests/mv/atomic +++ b/tests/mv/atomic @@ -58,7 +58,7 @@ fi fail=0 strace -qe unlink mv -T s1 s2 > out 2>&1 || fail=1 -grep unlink out && fail=1 +$EGREP 'unlink.*"s1"' out && fail=1 # Ensure that the source, s1, is gone. ls -dl s1 > /dev/null 2>&1 && fail=1 |