]> 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 12d2aae07e660fb0740e4b71211739dcea82b1b3..934511893250d9c6a958a03de0eed3bd614c3419 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.