summaryrefslogtreecommitdiffstats
path: root/tools/test/iconv/tablegen/cmp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test/iconv/tablegen/cmp.sh')
-rwxr-xr-xtools/test/iconv/tablegen/cmp.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/test/iconv/tablegen/cmp.sh b/tools/test/iconv/tablegen/cmp.sh
new file mode 100755
index 0000000..50664c4
--- /dev/null
+++ b/tools/test/iconv/tablegen/cmp.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+# $FreeBSD$
+
+diff -I\$FreeBSD$1 $2 | grep '^-' >/dev/null && printf "\tDIFFER: $1 $2\n" && exit 0 || exit 0
OpenPOWER on IntegriCloud