aboutsummaryrefslogtreecommitdiff
path: root/tests/test_usage.sh
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2020-07-02 17:27:03 -0400
committerGitHub <noreply@github.com>2020-07-02 17:27:03 -0400
commit9c149534389845412fbfb305b8a6f00923009c4b (patch)
tree0bb4cba597691aa9be0dc23bd1270e2bcbfde1bb /tests/test_usage.sh
parent2df3b35bebdb81c8e45c08d5a7af46e8fa32e07b (diff)
parent288ce22e256f71ba01cea63aa03a4880e5b1612d (diff)
downloadsplitfits-9c149534389845412fbfb305b8a6f00923009c4b.tar.gz
Merge pull request #4 from jhunkeler/circleci-project-setup
Circleci project setup
Diffstat (limited to 'tests/test_usage.sh')
-rw-r--r--tests/test_usage.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test_usage.sh b/tests/test_usage.sh
new file mode 100644
index 0000000..2a257d9
--- /dev/null
+++ b/tests/test_usage.sh
@@ -0,0 +1,9 @@
+test_splitfits_usage_longopt() {
+ ${test_program} --help
+ return $?
+}
+
+test_splitfits_usage_shortopt() {
+ ${test_program} -h
+ return $?
+}