diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-07-13 22:49:34 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-07-13 22:49:34 -0400 |
commit | 8225c761bb911d2c970cb73ba7b527a1002a22db (patch) | |
tree | 5c360754d528dd9fa9c3a8f07ae93fc4388e8afa | |
parent | 5245975f67212fdae08033e13c0c7d2b6db1256e (diff) | |
download | splitfits-8225c761bb911d2c970cb73ba7b527a1002a22db.tar.gz |
Fail if output is different
-rw-r--r-- | tests/test_split.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_split.sh b/tests/test_split.sh index 562876a..45d9abd 100644 --- a/tests/test_split.sh +++ b/tests/test_split.sh @@ -8,6 +8,11 @@ test_splitfits_data1() { return 1 fi + find . -regex '.*\.part_[0-9]+' | xargs -I'{}' cat '{}' >> streamed.fits + if ! diff ${datafile} streamed.fits; then + return 1 + fi + return 0 } |