2023-09-06 12:53:36 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2023-09-20 06:07:22 +00:00
|
|
|
set -e
|
2023-09-06 12:53:36 +00:00
|
|
|
|
2023-09-20 06:07:22 +00:00
|
|
|
PLUGIN_OUTPUT=$(mktemp -d -t plugin_XXXX)
|
|
|
|
GETH_OUTPUT=$(mktemp -d -t geth_XXXX)
|
2023-09-06 12:53:36 +00:00
|
|
|
|
|
|
|
./dumpdiff.plugeth $PLUGIN_OUTPUT
|
|
|
|
./dumpdiff.geth $GETH_OUTPUT
|
|
|
|
|
|
|
|
for file in $(ls $PLUGIN_OUTPUT)
|
|
|
|
do
|
|
|
|
diff "$PLUGIN_OUTPUT/$file" "$GETH_OUTPUT/$file"
|
2023-09-20 06:07:22 +00:00
|
|
|
echo Files match: "$PLUGIN_OUTPUT/$file" "$GETH_OUTPUT/$file"
|
2023-09-06 12:53:36 +00:00
|
|
|
done
|