Work around failures due to bogus quoting of ^ and {}.
[git/platforms.git] / t / t5100-mailinfo.sh
blob0dcab1fbfebcd99bfab5ab84543cee29e5523d93
1 #!/bin/sh
3 # Copyright (c) 2005 Junio C Hamano
6 test_description='git mailinfo and git mailsplit test'
8 . ./test-lib.sh
10 say "git-mailinfo does not work yet; skipping tests."
11 test_done
12 exit 0
14 test_expect_success 'split sample box' \
15 'git mailsplit -o. ../t5100/sample.mbox >last &&
16 last=`cat last` &&
17 echo total is $last &&
18 test `cat last` = 8'
20 for mail in `echo 00*`
22 test_expect_success "mailinfo $mail" \
23 "git mailinfo -u msg$mail patch$mail <$mail >info$mail &&
24 echo msg &&
25 diff ../t5100/msg$mail msg$mail &&
26 echo patch &&
27 diff ../t5100/patch$mail patch$mail &&
28 echo info &&
29 diff ../t5100/info$mail info$mail"
30 done
32 test_done