repo.or.cz
/
neatmail.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
regex: updates from neatvi
[neatmail.git]
/
test.sh
blob
7d745627887b75ed5315fa28e7413839c63638e5
1
#!/bin/sh
2
3
for
x
in
test
/
??.sh
4
do
5
printf
"
$x
: "
6
cp
test
/
test
.mbox
/
tmp
/
.neatmail.mbox
7
sh
$x
/
tmp
/
.neatmail.mbox
>/
tmp
/
.neatmail.out
8
if
cmp
-s
.
/
test
/
`basename
$x
.sh`
.out
/
tmp
/
.neatmail.out
;
then
9
printf
"OK
\n
"
10
else
11
printf
"Failed
\n
"
12
diff
-u
.
/
test
/
`basename
$x
.sh`
.out
/
tmp
/
.neatmail.out
13
exit
1
14
fi
15
done