Support timeout option on malware=
[exim.git] / test / aux-fixed / 4007.script
1 #!/bin/sh
2
3 if [ x$1 = "x-o" ]
4 then
5   shift
6   action=$1
7   shift
8 fi
9
10 if [ -r $1 ]
11 then
12   echo "scanning file $1"
13 else
14   echo "$1 not readable"
15   exit 1
16 fi
17
18 case $action in
19 accept) ;;
20 reject) echo "VNAME found in file $1";;
21 pause3) sleep 3;;
22 esac
23