summaryrefslogtreecommitdiff
path: root/test/manual/noverlay/check-sanitize.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/manual/noverlay/check-sanitize.sh')
-rwxr-xr-xtest/manual/noverlay/check-sanitize.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/manual/noverlay/check-sanitize.sh b/test/manual/noverlay/check-sanitize.sh
new file mode 100755
index 00000000000..03eedce8a67
--- /dev/null
+++ b/test/manual/noverlay/check-sanitize.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+prog=$1
+shift
+
+[ -z "$prog" ] && {
+ echo "usage:$(basename $0) CHECK_PRGOGRAM";
+ exit 1;
+}
+
+"$prog" "$@" | sed -e 's/^\([^:]\+\):\([0-9]\+\):[PFE]:[^:]*:\([^:]*\):[^:]*: *\(.*\)/\1:\2:\3:\4/'