]> diplodocus.org Git - nmh/commitdiff
Wrap 'pick -subject foobar 13' test with set +e/-e.
authorLyndon Nerenberg <lyndon@orthanc.ca>
Thu, 31 Jan 2013 09:44:03 +0000 (01:44 -0800)
committerLyndon Nerenberg <lyndon@orthanc.ca>
Thu, 31 Jan 2013 09:44:03 +0000 (01:44 -0800)
The command was failing silently on FreeBSD, leading to
premature script termination.

test/pick/test-pick

index 12d2aae..9345118 100755 (executable)
@@ -258,7 +258,9 @@ EOF
 
 echo 13 >"$expected"
 
+set +e
 pick -subject foobar 13 >"$actual" 2>&1
+set -e
 check "$expected" "$actual"
 
 # Test -nosequence.