diff options
Diffstat (limited to 'examples/modules/check.test')
-rwxr-xr-x | examples/modules/check.test | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/modules/check.test b/examples/modules/check.test new file mode 100755 index 000000000..f7a789b69 --- /dev/null +++ b/examples/modules/check.test @@ -0,0 +1,27 @@ +#!/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 |