Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 198 Bytes
#!/bin/bash
diff="$(diff --unified "$2" <(./bin/vspec "$PWD" "$1" | sed 's/\r//'))"
if [ $? = 0 ]
then
echo 'ok 1'
else
echo 'not ok 1'
echo "$diff" | sed 's/^/# /'
fi
echo '1..1'
# __END__