summaryrefslogtreecommitdiffstats
path: root/test/nbft/nbft-dump-diff.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'test/nbft/nbft-dump-diff.sh.in')
-rwxr-xr-xtest/nbft/nbft-dump-diff.sh.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/nbft/nbft-dump-diff.sh.in b/test/nbft/nbft-dump-diff.sh.in
new file mode 100755
index 0000000..f697bce
--- /dev/null
+++ b/test/nbft/nbft-dump-diff.sh.in
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ $# -ne 2 ]; then
+ echo "Usage: $0 TABLE DIFF" >&2
+ exit 255
+fi
+
+"@NBFT_DUMP_PATH@" "$1" | diff --unified "$2" -