diff options
Diffstat (limited to 'test/testcases/common.filter')
-rwxr-xr-x | test/testcases/common.filter | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/testcases/common.filter b/test/testcases/common.filter new file mode 100755 index 0000000..03846c2 --- /dev/null +++ b/test/testcases/common.filter @@ -0,0 +1,9 @@ +#!/usr/bin/awk -f +# 1. replace .EXT [path/]<cmd> <parameter> with .EXT <cmd> <parameter> +/\.EXT \/(.+)/ { gsub(/\/.*\//, "", $2) } +/\.EXT >\/dev\/null 2>&1 \/(.+)/ { gsub(/\/.*\//, "", $4) } +/\.EXT pacemaker-fenced/ { gsub(/pacemaker-fenced/,"stonithd") } +/\.EXT pacemaker-controld/ { gsub(/pacemaker-controld/,"crmd") } +/\.EXT pacemaker-schedulerd/ { gsub(/pacemaker-schedulerd/,"pengine") } +/\.EXT pacemaker-based/ { gsub(/pacemaker-based/,"cib") } +{ print } |