projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed --enable-pop and SETGID_MAIL= from nmh.spec.
[mmh]
/
test
/
post
/
test-post-common.sh
diff --git
a/test/post/test-post-common.sh
b/test/post/test-post-common.sh
index
7698b81
..
7bc67e3
100755
(executable)
--- a/
test/post/test-post-common.sh
+++ b/
test/post/test-post-common.sh
@@
-29,7
+29,7
@@
test_post ()
send -draft -server 127.0.0.1 -port $localport || exit 1
send -draft -server 127.0.0.1 -port $localport || exit 1
- wait $!
+ wait ${pid}
#
# It's hard to calculate the exact Date: header post is going to
#
# It's hard to calculate the exact Date: header post is going to
@@
-37,7
+37,8
@@
test_post ()
# compare it against our "correct" output.
#
# compare it against our "correct" output.
#
- sed -i "" -e 's/^Date:.*/Date:/' "$1"
+ sed -e 's/^Date:.*/Date:/' "$1" > "$1".nodate
+ rm -f "$1"
- check "$1" "$2"
+ check "$1".nodate "$2"
}
}