1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

testsuite: change exit code to 98 for FATAL decompression checksum mismatchs.

This commit is contained in:
Markus F.X.J. Oberhumer 2021-03-28 22:06:42 +02:00
parent 53d7b5449f
commit ab31e8dde9

View File

@ -58,7 +58,7 @@ testsuite_check_sha() {
exit_code=99
let num_errors+=1 || true
all_errors="${all_errors} $1"
#exit 1
#exit 99
fi
echo
}
@ -69,7 +69,7 @@ testsuite_check_sha_decompressed() {
cat $1/.sha256sums.current
echo "UPX-ERROR: FATAL: $1 FAILED: decompressed checksum mismatch"
diff -u $1/.sha256sums.expected $1/.sha256sums.current || true
exit 1
exit 98
fi
}