summaryrefslogtreecommitdiff
path: root/tests/symlinks
diff options
context:
space:
mode:
Diffstat (limited to 'tests/symlinks')
-rw-r--r--tests/symlinks2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/symlinks b/tests/symlinks
index f7dea76..3b7f0e2 100644
--- a/tests/symlinks
+++ b/tests/symlinks
@@ -147,7 +147,7 @@ check 'patch -p1 --backup < create-symlink.diff || echo "Status: $?"' <<EOF
patching symbolic link symlink
EOF
-ncheck 'test -f symlink.orig -a ! -s symlink.orig'
+ncheck 'test -f symlink.orig && test ! -s symlink.orig'
# The backup file of a modified symlink is the old symlink.