From acddc14942c2970f987572228f358c7e4954f30d Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 2 Jul 2020 22:13:36 -0400 Subject: Update test_split.sh --- tests/test_split.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'tests') 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 } -- cgit