features/trema_netns/netns.feature in trema-0.9.0 vs features/trema_netns/netns.feature in trema-0.10.0
- old
+ new
@@ -43,13 +43,13 @@
Then the stdout should contain "192.168.1.2"
@sudo
Scenario Outline: netns namespece command
When I run `<command>`
- Then the stdout should contain "<output>"
+ Then the stdout should contain "<message>"
Examples:
- |command |output |
- |trema netns host1 ip add show host1 |192.168.1.2 |
- |trema netns host1 -- ping -c1 192.168.1.3|1 packets transmitted, 1 received, |
- |trema netns host1 "ping -c1 192.168.1.3" |1 packets transmitted, 1 received, |
- |trema netns host1 "ip addr \| grep 127" |127.0.0.1 |
- |trema netns host1 ls $PWD |simple_hub.conf |
+ | command | message |
+ | trema netns host1 ip add show host1 | 192.168.1.2 |
+ | trema netns host1 -- ping -c1 192.168.1.3 | 1 packets transmitted, 1 received, |
+ | trema netns host1 "ping -c1 192.168.1.3" | 1 packets transmitted, 1 received, |
+ | trema netns host1 "ip addr show lo" | 127.0.0.1 |
+ | trema netns host1 ls $PWD | simple_hub.conf |