Sha256: b7d76b174ee2e2fbd06e1d095bce5781d0525a60a1811038bba9774478b6b556
Contents?: true
Size: 510 Bytes
Versions: 4
Compression:
Stored size: 510 Bytes
Contents
#!/bin/sh # parameters: # output # baseline # diff check_test_full () { diff $1 $2 > $3 2>&1 if [ $? -ne 0 ]; then echo "\'diff $1 $2 > $3\' -- Test Failed!" exit 1 fi } check_test () { check_test_full $srcdir/$1.output $srcdir/$1.baseline $srcdir/$1.diff } check_exists () { if [ ! -f $1 ]; then echo "$1 does not exist. Test Failed!" exit 1 fi } check_file () { check_exists $1 check_test_full $1 $1.baseline $1.diff }
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
tnef-1.0.2 | ext/tnef/tests/util.sh |
tnef-1.0.1 | ext/tnef/tests/util.sh |
tnef-1.0.0 | ext/tnef/tests/util.sh |
tnef-0.0.1 | ext/tnef/tests/util.sh |