blob: b3ebd9f566bd673e35acc08a8c5474455135d43f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
test_splitfits_usage_longopt_help() {
${test_program} --help
return $?
}
test_splitfits_usage_shortopt_help() {
${test_program} -h
return $?
}
test_splitfits_usage_longopt_version() {
result=$(${test_program} --version)
retval=$?
if [[ -z $result ]]; then
return 1
fi
return $retval
}
test_splitfits_usage_shortopt_version() {
result=$(${test_program} -V)
retval=$?
if [[ -z $result ]]; then
return 1
fi
return $retval
}
|