diff options
| author | Jan Pokorný <jpokorny@redhat.com> | 2015-10-12 23:37:59 +0200 |
|---|---|---|
| committer | Jan Pokorný <jpokorny@redhat.com> | 2015-12-17 23:33:48 +0100 |
| commit | 58e95b57e08d90843480a04755952579ad342ca4 (patch) | |
| tree | c7afbc933c9a2183dd7b31334f97b5561a1fb837 /tests | |
| parent | feb335c44cba7db5d7b29dba2f2b9034e268e126 (diff) | |
| download | clufter-58e95b57e08d90843480a04755952579ad342ca4.tar.gz clufter-58e95b57e08d90843480a04755952579ad342ca4.tar.xz clufter-58e95b57e08d90843480a04755952579ad342ca4.zip | |
filters/cmd-wrap: deal better with commands specifics (pcs)
Fairly unfinished, to be tweaked over time...
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/filters/cmd_wrap.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/filters/cmd_wrap.py b/tests/filters/cmd_wrap.py index 2d2937a..8117c20 100644 --- a/tests/filters/cmd_wrap.py +++ b/tests/filters/cmd_wrap.py @@ -39,8 +39,10 @@ pcs -f tmp-cib.xml resource create RESOURCE-apache-webserver ocf:heartbeat:apach """), text_width=80) #print result.BYTESTRING() self.assertEquals(result.BYTESTRING(), """\ -pcs -f tmp-cib.xml \ - resource create RESOURCE-apache-webserver ocf:heartbeat:apache 'options= -Dwebserver' op stop id=RESOURCE-apache-webserver-OP-stop name=stop interval=0 timeout=122s +pcs -f tmp-cib.xml \\ + resource create RESOURCE-apache-webserver ocf:heartbeat:apache \\ + 'options= -Dwebserver' \\ + op stop id=RESOURCE-apache-webserver-OP-stop name=stop interval=0 timeout=122s """) |
