Testsuite: case for malware= cmdline
[exim.git] / test / aux-fixed / 4007.script
diff --git a/test/aux-fixed/4007.script b/test/aux-fixed/4007.script
new file mode 100755 (executable)
index 0000000..9cdd098
--- /dev/null
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+if [ x$1 = "x-o" ]
+then
+  shift
+  action=$1
+  shift
+fi
+
+if [ -r $1 ]
+then
+  echo "scanning file $1"
+else
+  echo "$1 not readable"
+  exit 1
+fi
+
+case $action in
+accept) ;;
+reject) echo "VNAME found in file $1";;
+esac
+