1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-13 17:20:21 +02:00
guile/tests/run-test
Paolo Bonzini 5ab8cddd61 avoid CRLF issues on mingw
2008-05-19  Paolo Bonzini  <bonzini@gnu.org>

	* tests/run-test: Avoid CRLF issues on mingw.
2008-05-19 10:58:41 +02:00

13 lines
168 B
Bash
Executable file

#! /bin/sh
./$1 | tr -d \\r > $1.log
if test $? = 77; then
exit 77
fi
if cmp -s $srcdir/$1.ok $1.log; then
rm $1.log
else
diff $srcdir/$1.ok $1.log
exit 1
fi