Skip to content

Commit 5b3cd54

Browse files
committed
Restore GNU expectations for b32h_5 and b32h_6
Updates util/build-gnu.sh to stop forcing those two basenc tests to expect empty stdout, so the GNU suite again checks for the leaked five bytes before failure.
1 parent f9f6d09 commit 5b3cd54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/build-gnu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ sed -i -e "s|invalid suffix in --pages argument|invalid --pages argument|" \
268268
# When decoding an invalid base32/64 string, gnu writes everything it was able to decode until
269269
# it hit the decode error, while we don't write anything if the input is invalid.
270270
sed -i "s/\(baddecode.*OUT=>\"\).*\"/\1\"/g" tests/basenc/base64.pl
271-
sed -i "s/\(\(b2[ml]_[69]\|b32h_[56]\|z85_8\|z85_35\).*OUT=>\)[^}]*\(.*\)/\1\"\"\3/g" tests/basenc/basenc.pl
271+
sed -i "s/\(\(b2[ml]_[69]\|z85_8\|z85_35\).*OUT=>\)[^}]*\(.*\)/\1\"\"\3/g" tests/basenc/basenc.pl
272272

273273
# add "error: " to the expected error message
274274
sed -i "s/\$prog: invalid input/\$prog: error: invalid input/g" tests/basenc/basenc.pl

0 commit comments

Comments
 (0)