diff --git a/tests/copytests/cases/test035.sh b/tests/copytests/cases/test035.sh index a563b9796..c2f0f0168 100755 --- a/tests/copytests/cases/test035.sh +++ b/tests/copytests/cases/test035.sh @@ -5,8 +5,7 @@ set -e cd "$HOME/testcp" mkdir bar -wsh file copy bar baz/ >/dev/null 2>&1 && echo "this command was supposed to file" && exit 1 - +wsh file copy bar baz/ >/dev/null 2>&1 && echo "this command was supposed to fail" && exit 1 if [ -d baz ]; then echo "baz should not exist" exit 1