git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1d4240
)
Tests - eventscripts - new function setup_nmap_output_filter()
author
Martin Schwenke
<martin@meltin.net>
Mon, 22 Aug 2011 06:00:52 +0000
(16:00 +1000)
committer
Martin Schwenke
<martin@meltin.net>
Tue, 30 Aug 2011 06:51:55 +0000
(16:51 +1000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
tests/eventscripts/common.sh
patch
|
blob
|
history
diff --git
a/tests/eventscripts/common.sh
b/tests/eventscripts/common.sh
index 0c605e7f4582f1fcc963ac758e3f10de9151d265..1a83811caee4b7c12981158e040453e8b4477c53 100644
(file)
--- a/
tests/eventscripts/common.sh
+++ b/
tests/eventscripts/common.sh
@@
-177,6
+177,11
@@
ethtool_interfaces_up ()
done
}
+setup_nmap_output_filter ()
+{
+ OUT_FILTER="-e 's@^(DEBUG: # Nmap 5.21 scan initiated) .+ (as:)@\1 DATE \2@' -e 's@^(DEBUG: # Nmap done at) .+ (--)@\1 DATE \2@'"
+}
+
######################################################################
# CTDB fakery