diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2020-07-02 22:13:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-02 22:13:36 -0400 |
commit | acddc14942c2970f987572228f358c7e4954f30d (patch) | |
tree | e9c20a8eb8e966396344c861ff2355fc019aa2ab /tests | |
parent | 946c696d51ab70abec027f1a0beb8a2fd1e9367d (diff) | |
download | splitfits-acddc14942c2970f987572228f358c7e4954f30d.tar.gz |
Update test_split.sh
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_split.sh | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/test_split.sh b/tests/test_split.sh index 141e320..13ec5a9 100644 --- a/tests/test_split.sh +++ b/tests/test_split.sh @@ -1,8 +1,6 @@ test_splitfits_data1() { local datafile - local retval - retval=0 datafile=$(get_data generic/fits/sample.fits) [[ ! -f ${datafile} ]] && return 1 @@ -10,15 +8,12 @@ test_splitfits_data1() { return 1 fi - set +x - return $retval + return 0 } test_splitfits_combine_data1() { local datafile - local retval - retval=0 datafile=$(get_data generic/fits/sample.fits) [[ ! -f ${datafile} ]] && return 1 @@ -30,6 +25,5 @@ test_splitfits_combine_data1() { return 1 fi - set +x - return $retval + return 0 } |