From 5803dc0fdb911a67ad9ca1ef9600edc58331d55a Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 2 Jul 2020 10:53:55 -0400 Subject: Add basic test framework and a few tests --- tests/test_usage.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/test_usage.sh (limited to 'tests/test_usage.sh') 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 $? +} -- cgit