5 if [ -n "$result" ] ; then
13 result=$(mktemp /tmp/test_merge.XXXXXX)
16 if ! cmp $result $expected ; then
17 diff -u $expected $result || :
18 echo FAIL - $cmd result does not match expected
26 run_test "python merge.py examples/source.yaml" examples/source_lib_result.yaml
27 run_test "python merge.py examples/source2.yaml" examples/source2_lib_result.yaml
28 run_test "python merge.py examples/source_include_subkey.yaml" examples/source_include_subkey_result.yaml
29 run_test "python merge.py examples/launchconfig1.yaml examples/launchconfig2.yaml" examples/launchconfig_result.yaml