mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
27 lines
340 B
Bash
Executable file
27 lines
340 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# must be run from this directory
|
|
guile=${GUILE-../../libguile/guile}
|
|
|
|
if test "X$srcdir" = X; then
|
|
srcdir=.
|
|
fi
|
|
|
|
set -e
|
|
|
|
#
|
|
# ./main test
|
|
#
|
|
$guile -s $srcdir/main > TMP
|
|
cat <<EOF | diff -u - TMP
|
|
module-0 foo
|
|
module-0 bar
|
|
module-1 foo
|
|
module-1 bar
|
|
module-2 braz
|
|
module-2 braz
|
|
module-2 foo
|
|
EOF
|
|
rm -f TMP
|
|
|
|
# check.test ends here
|