#!/bin/bash

pushd $(dirname $0) > /dev/null
diff -wB fixture/expected-vars-store.yml <(spiff merge \
  vars-store-template.yml \
  vars-pre-processing-template.yml \
  fixture/source-cf-manifest.yml \
  fixture/source-diego-manifest.yml )

status=$?
if [ "$status" == "0" ]; then
  echo PASS
else
  echo FAIL
fi

popd > /dev/null

exit $status

#!/bin/bash

pushd $(dirname $0) > /dev/null
diff -wB -C5 fixture/expected-vars-store.yml <(spiff merge \
  vars-store-template.yml \
  vars-pre-processing-template.yml \
  fixture/source-cf-manifest.yml \
  fixture/source-diego-manifest.yml )

status=$?
if [ "$status" == "0" ]; then
  echo PASS
else
  echo FAIL
fi

popd > /dev/null

exit $status

Add context to the diff for great usefulness.
Add context to the diff for great usefulness.

Signed-off-by: Joshua Aresty <18e47c05d12d69c65baf02b69e877c81d203331d@emc.com>
