diff options
author | Jim Meyering <meyering@redhat.com> | 2008-04-14 23:33:43 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-04-14 23:33:43 +0200 |
commit | 739cf4e8325775dd6400984b3b52e67b3102e556 (patch) | |
tree | b7b57a61a96bfd2fdfc78010be47e5e6a88d2ad8 /tests/mv | |
parent | 08f2a71ee34cc261fb39d1047069e01cb48fb0d7 (diff) | |
download | coreutils-739cf4e8325775dd6400984b3b52e67b3102e556.tar.xz |
tests: don't fail on systems without a "stat" syscall
* tests/test-lib.sh (require_strace_): Add a syscall parameter.
* tests/ls/stat-free-symlinks: Update caller.
* tests/mv/atomic: Likewise.
* tests/mv/atomic2: Likewise.
Reported by Mike Frysinger in
http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/13222
Diffstat (limited to 'tests/mv')
-rwxr-xr-x | tests/mv/atomic | 2 | ||||
-rwxr-xr-x | tests/mv/atomic2 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/mv/atomic b/tests/mv/atomic index 38e98a5a2..5eadb958f 100755 --- a/tests/mv/atomic +++ b/tests/mv/atomic @@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then fi . $srcdir/../test-lib.sh -require_strace_ +require_strace_ unlink # Before the fix, mv would unnecessarily unlink the destination symlink: # $ rm -rf s[12]; ln -s / s1; ln -s /tmp s2; strace -qe unlink /bin/mv -T s1 s2 diff --git a/tests/mv/atomic2 b/tests/mv/atomic2 index d1029aa9c..fe205b46d 100755 --- a/tests/mv/atomic2 +++ b/tests/mv/atomic2 @@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then fi . $srcdir/../test-lib.sh -require_strace_ +require_strace_ unlink # Before the fix, mv would unnecessarily unlink the destination symlink: # $ rm -f a b b2; touch a b; ln b b2; strace -e unlink /p/bin/mv a b |