]> git.proxmox.com Git - ovs.git/commit
ovn-nbctl test: Add different search string for getopt BSD variant
authorAlin Gabriel Serdean <aserdean@ovn.org>
Thu, 16 Aug 2018 16:31:39 +0000 (19:31 +0300)
committerAlin Gabriel Serdean <aserdean@ovn.org>
Thu, 16 Aug 2018 18:24:50 +0000 (21:24 +0300)
commit6bced903bb50fbea97485e4125e9c56911a0c74e
tree3dbc39faab93372173a0bb5f22f1b4bd5bc8db22
parentbdcb4b25810c4c7ad6bffdb3108e54ee0c7184ea
ovn-nbctl test: Add different search string for getopt BSD variant

2714. ovn-nbctl.at:1443: testing ovn-nbctl - commands parser error paths

fails due to:
ovn-nbctl.at:1443: ovn-nbctl --if-exists=foo list Logical_Switch
stderr:
ovn-nbctl: option '--if-exists=foo' requires an argument
./ovn-nbctl.at:1443: grep 'option .* doesn'\''t allow an argument' stderr
stdout:
./ovn-nbctl.at:1443: exit code was 1, expected 0

This is due to the difference between getopt BSD and GNU variant.

Signed-off-by: Alin Gabriel Serdean <aserdean@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
tests/ovn-nbctl.at