test: renamed test scripts to format T\d\d\d-name.sh
[notmuch] / test / T410-argument-parsing.sh
1 #!/usr/bin/env bash
2 test_description="argument parsing"
3 . ./test-lib.sh
4
5 test_begin_subtest "sanity check"
6 $TEST_DIRECTORY/arg-test  pos1  --keyword=one --string=foo pos2 --int=7 > OUTPUT
7 cat <<EOF > EXPECTED
8 keyword 1
9 int 7
10 string foo
11 positional arg 1 pos1
12 positional arg 2 pos2
13 EOF
14 test_expect_equal_file OUTPUT EXPECTED
15
16 test_done