projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 2001-03-14 10:12:36 by rrt]
[ghc-hetmet.git]
/
ghc
/
tests
/
programs
/
life_space_leak
/
life.test
1
#! /bin/sh
2
#
3
./life_space_leak | sum > /tmp/sum-real-$$
4
5
cat > ./sum-expected-$$ << EOTHING
6
02845 1350
7
EOTHING
8
9
if cmp -s ./sum-real-$$ ./sum-expected-$$ ; then
10
/bin/rm ./sum*$$
11
exit 0
12
else
13
echo -n '*** sum I got: ' ; cat ./sum-real-$$
14
echo -n '*** sum I expected: ' ; cat ./sum-expected-$$
15
/bin/rm ./sum*$$
16
exit 1
17
fi