mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 05:09:22 +00:00
Debug cmp call in CI
This commit is contained in:
4
.github/workflows/stack_size.yml
vendored
4
.github/workflows/stack_size.yml
vendored
@@ -92,7 +92,11 @@ jobs:
|
|||||||
echo "Verified \`read_stack\` agrees the binary's stack is now 8 MB"
|
echo "Verified \`read_stack\` agrees the binary's stack is now 8 MB"
|
||||||
|
|
||||||
# Only one byte should be different due to the bit pattern of 8 MB
|
# Only one byte should be different due to the bit pattern of 8 MB
|
||||||
|
ls monerod
|
||||||
|
ls monerod-chelf
|
||||||
|
cmp --help
|
||||||
BYTES_DIFFERENT=$(cmp -l monerod monerod-chelf | wc -l)
|
BYTES_DIFFERENT=$(cmp -l monerod monerod-chelf | wc -l)
|
||||||
|
echo $BYTES_DIFFERENT
|
||||||
if [ "$BYTES_DIFFERENT" -ne 1 ]; then
|
if [ "$BYTES_DIFFERENT" -ne 1 ]; then
|
||||||
echo "More than one byte was different between the two binaries"
|
echo "More than one byte was different between the two binaries"
|
||||||
exit 4
|
exit 4
|
||||||
|
|||||||
Reference in New Issue
Block a user