From e1e69401463df156958e2eaf7f196a29e0e25116 Mon Sep 17 00:00:00 2001 From: Junichi Uekawa Date: Sun, 2 Nov 2008 12:26:45 +0000 Subject: [PATCH] Revise test to handle different exit code. test for exit code 3 instead of 255. --- tests/wrong-rsync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/wrong-rsync.sh b/tests/wrong-rsync.sh index 856bca9..f561393 100755 --- a/tests/wrong-rsync.sh +++ b/tests/wrong-rsync.sh @@ -7,7 +7,7 @@ WORKTARGET=$(mktemp -d) ./lsyncd --no-daemon --rsync-binary /wrong/path/to/rsync . "${WORKTARGET}" -if [[ $? = 255 ]]; then +if [[ $? = 3 ]]; then rmdir "${WORKTARGET}" exit 0; else