HCoop
/
bpt
/
guile.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
* threads.h: fix various preprocessor usages of new public
[bpt/guile.git]
/
examples
/
modules
/
check.test
1
#!/bin/sh
2
3
# must be run from this directory
4
guile
=
${GUILE-../../libguile/guile}
5
6
if
test
"X
$srcdir
"
=
X
;
then
7
srcdir
=
.
8
fi
9
10
set -e
11
12
#
13
# ./main test
14
#
15
$guile
-s
$srcdir
/
main
>
TMP
16
cat
<<EOF | diff -u - TMP
17
module-0 foo
18
module-0 bar
19
module-1 foo
20
module-1 bar
21
module-2 braz
22
module-2 braz
23
module-2 foo
24
EOF
25
rm
-f
TMP
26
27
# check.test ends here