Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/pssolar/pssolar_missing_plusd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ gmt solar -Td+d2020-01-01T00:00:00 -M > jan.txt 2>fail_jan
gmt solar -Td+d2020-06-01T00:00:00 -M > jun.txt 2>fail_jun
[ -s fail_jan ] && cat fail_jan >> fail
[ -s fail_jun ] && cat fail_jun >> fail
diff jan.txt jun.txt > /dev/null && echo "Jan and Jun terminators are identical - date is being ignored" >> fail
if diff jan.txt jun.txt > /dev/null; then echo "Jan and Jun terminators are identical - date is being ignored" >> fail; fi
2 changes: 1 addition & 1 deletion test/pssolar/pssolar_tz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ while read tz minutes; do
'{got = $1 * 1440 - 720 + $2; if (got - m > 1e-4 || m - got > 1e-4) printf "+z%s gave %.6f minutes, expected %s\n", tz, got, m}'
done < tz.txt > fail

gmt solar -I0/0+zabc -C > /dev/null 2>&1 && echo "+zabc was accepted" >> fail
if gmt solar -I0/0+zabc -C > /dev/null 2>&1; then echo "+zabc was accepted" >> fail; fi
Loading