Skip to content

Commit 19d92aa

Browse files
fix error
1 parent fb304b4 commit 19d92aa

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tests/run_smallest_4_tests.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,31 +153,31 @@ fi
153153
# Message 4 Errors
154154

155155
# First 4 bytes does not start with GRIB
156-
../aux_progs/smallest_4 "$output" "$file1" "$file2" "$file3" data/bad_sec0_1.grb2 "$file4" && exit 1
156+
../aux_progs/smallest_4 "$output" "$file1" "$file2" "$file3" data/bad_sec0_1.grb2 && exit 1
157157
if [ $? -ne 1 ]; then
158158
echo "Error: Test failed for bad sec0 message at byte 1 in file 4."
159159
exit 1
160160
fi
161161

162-
../aux_progs/smallest_4 "$output" "$file1" "$file2" "$file3" data/bad_sec0_2.grb2 "$file4" && exit 1
162+
../aux_progs/smallest_4 "$output" "$file1" "$file2" "$file3" data/bad_sec0_2.grb2 && exit 1
163163
if [ $? -ne 1 ]; then
164164
echo "Error: Test failed for bad sec0 message at byte 2 in file 4."
165165
exit 1
166166
fi
167167

168-
../aux_progs/smallest_4 "$output" "$file1" "$file2" "$file3" data/bad_sec0_3.grb2 "$file4" && exit 1
168+
../aux_progs/smallest_4 "$output" "$file1" "$file2" "$file3" data/bad_sec0_3.grb2 && exit 1
169169
if [ $? -ne 1 ]; then
170170
echo "Error: Test failed for bad sec0 message at byte 3 in file 4."
171171
exit 1
172172
fi
173173

174-
../aux_progs/smallest_4 "$output" "$file1" "$file2" "$file3" data/bad_sec0_4.grb2 "$file4" && exit 1
174+
../aux_progs/smallest_4 "$output" "$file1" "$file2" "$file3" data/bad_sec0_4.grb2 && exit 1
175175
if [ $? -ne 1 ]; then
176176
echo "Error: Test failed for bad sec0 message at byte 4 in file 4."
177177
exit 1
178178
fi
179179

180-
../aux_progs/smallest_4 "$output" "$file1" "$file2" "$file3" data/bad_sec0_size.grb2 "$file4" && exit 1
180+
../aux_progs/smallest_4 "$output" "$file1" "$file2" "$file3" data/bad_sec0_size.grb2 && exit 1
181181
if [ $? -ne 4 ]; then
182182
echo "Error: Test failed for read error in file 4."
183183
exit 1

0 commit comments

Comments
 (0)