diff options
author | Thomas White <taw@physics.org> | 2022-09-08 17:11:50 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2022-09-08 17:42:39 +0200 |
commit | 6d18e4ba3edd077aba9811d446d94f16141f57e9 (patch) | |
tree | f773d22109c01005f24fd48d9a008caa26b4a929 /tests | |
parent | e5b54070ad29b56ef4402c8d797e542169d00941 (diff) |
Stream: don't open stream if headers aren't understood
This avoids e.g. crashing later if the geometry is bad.
This commit also removes a problematic stanza from the geometry in
test.stream, since the stream reading functions are now more fussy about
this.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test.stream | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/test.stream b/tests/test.stream index 542693d5..c10937a9 100644 --- a/tests/test.stream +++ b/tests/test.stream @@ -16,12 +16,6 @@ mask = /data/data mask_good = 0x0001 mask_bad = 0xfffe -bad_test/min_fs = 0 -bad_test/min_ss = 0 -bad_test/max_fs = 100 -bad_test/max_ss = 100 -bad_test/panel = q2a0 - bad_thing/min_x = -390 bad_thing/max_x = -270 bad_thing/min_y = 820 |