repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Comment out x86 asm.
[AROS.git]
/
compiler
/
purify
/
check
blob
bc883e824cc1e56c152578e0f1f32dc6e285f921
1
#!/bin/sh
2
3
file
=
"./
$1
"
4
shift
5
args
=
"$*"
6
7
echo -n
"Test
$file
"
8
9
if
[
-e
"
$file
.sh"
];
then
10
sh
$file
.sh
2
>&
1
|
cat
>
$file
.tmp
11
else
12
$file
2
>&
1
|
cat
>
$file
.tmp
13
fi
14
15
if
cmp
-s
$file
.out
$file
.tmp
;
then
16
echo
"OK"
17
rm
$file
.tmp
18
else
19
echo
"FAIL"
20
diff
-C
3
$file
.out
$file
.tmp
21
fi
22
23
exit
0