#!/bin/bash

TESTS="faa1 test1"

for TEST in $TESTS
do
	echo "********** $TEST **********"

	INPUT=tests/$TEST.json
	OUTPUT=tests/$TEST.result

	diff $OUTPUT <(cat $INPUT | ./JTL/__init__.py -t tests/$TEST.jtl)
done

#!/bin/bash

set -u

TESTS="faa1 test1"

for TEST in $TESTS
do
	echo "********** $TEST **********"

	INPUT=tests/$TEST.json
	OUTPUT=tests/$TEST.result

	diff $OUTPUT <(cat $INPUT | ./JTL/__init__.py -t tests/$TEST.jtl)
done

Add set -u to all shell scripts (automated edit)
Add set -u to all shell scripts (automated edit)
