File: test.sh

package info (click to toggle)
portsentry 2.0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 1,396 kB
  • sloc: ansic: 6,473; sh: 916; perl: 18; makefile: 5
file content (11 lines) | stat: -rwxr-xr-x 220 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
. ./testlib.sh

runNmap 10 T

verbose "don't expect attackalert block message"
if findInFile "^Scan from: \[127\.0\.0\.1\]" $PORTSENTRY_STDOUT; then
  err "No attackalert message expected but was found"
fi

ok