]> git.notmuchmail.org Git - notmuch/blobdiff - test/T410-argument-parsing.sh
exit lingering gpg agents at the end of relevant tests
[notmuch] / test / T410-argument-parsing.sh
index 2e5d7ae3ab4da7f809d8ce4f6a7a1e7716515d66..fad134e305c59592b2d6d12dfbb7afa12c9f7266 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description="argument parsing"
-. ./test-lib.sh
+. ./test-lib.sh || exit 1
 
 test_begin_subtest "sanity check"
 $TEST_DIRECTORY/arg-test  pos1  --keyword=one --string=foo pos2 --int=7 --flag=one --flag=three > OUTPUT
@@ -12,6 +12,6 @@ string foo
 positional arg 1 pos1
 positional arg 2 pos2
 EOF
-test_expect_equal_file OUTPUT EXPECTED
+test_expect_equal_file EXPECTED OUTPUT
 
 test_done