diff options
-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 } |