|
@ -1244,14 +1244,7 @@ cd "$test_tmpdir" |
|
|
|
|
|
|
|
|
export DISABLE_SYSTEM_CONFIG_FILE=true |
|
|
export DISABLE_SYSTEM_CONFIG_FILE=true |
|
|
out=\$("$tprog" config) || exit 1 |
|
|
out=\$("$tprog" config) || exit 1 |
|
|
expected="networks: |
|
|
|
|
|
static: |
|
|
|
|
|
driver: bridge |
|
|
|
|
|
ipam: |
|
|
|
|
|
config: |
|
|
|
|
|
- subnet: 172.25.1.0/24 |
|
|
|
|
|
driver: default |
|
|
|
|
|
services: {} |
|
|
|
|
|
|
|
|
expected="services: {} |
|
|
version: '2.0'" |
|
|
version: '2.0'" |
|
|
|
|
|
|
|
|
[ "\$out" == "\$expected" ] || { |
|
|
[ "\$out" == "\$expected" ] || { |
|
|