summaryrefslogtreecommitdiff
path: root/mh/tests/ali.at
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-03-17 01:30:34 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2011-03-17 01:30:34 +0200
commit02634d3bf0932b8bde43a881d67760f38e3f9e9f (patch)
tree26a02927411ccea05859111c2db45612b6232e07 /mh/tests/ali.at
parent0ac52e06cb1cb91602ee4dc4de32f66423e96b32 (diff)
downloadmailutils-02634d3bf0932b8bde43a881d67760f38e3f9e9f.tar.gz
mailutils-02634d3bf0932b8bde43a881d67760f38e3f9e9f.tar.bz2
Bugfixes.
* comsat/action.c (action_echo): Set omit_newline. * libmailutils/mailbox/mbx_default.c: Return 0 on success. Fix memory overrun. * libproto/mailer/smtp.c (smtp_open): Protect tls-related code with #ifdef WITH_TLS. * libproto/pop/mbox.c (pop_open): Likewise. * mu/imap.c (com_connect): Likewise. * mh/mhn.c (split_args): Preserve quotes. (mhn_compose_command): Handle type arguments (%a escape). (mhn_show_command): Likewise. (store_handler): Fix call to mh_getyn. (edit_mime): Pass typeargs to mhn_compose_command. Fix test for missing filename. * mh/tests/ali.at (ali04): The test wrongly assumed that the `root' group has some members. * mh/tests/folder.at: Always sort the output from find. * mh/tests/rmf.at: Likewise. * mh/tests/mhn.at: Likewise. Filter out timestamps from the tar output produced by mhn. * tests/testsuite.at (MH_SETUP): Define moreproc. * mh/tests/mhparam.at: Account for changes in mh_profile
Diffstat (limited to 'mh/tests/ali.at')
-rw-r--r--mh/tests/ali.at9
1 files changed, 4 insertions, 5 deletions
diff --git a/mh/tests/ali.at b/mh/tests/ali.at
index 36c1f4073..8b640c7ee 100644
--- a/mh/tests/ali.at
+++ b/mh/tests/ali.at
@@ -74,11 +74,10 @@ ali: mh_aliases2:2: `mh_aliases' already included at top level
])
MH_CHECK([ali: group name],[ali04 ali-group-name],[
-grep ^root: /etc/group >/dev/null || AT_SKIP_TEST
-AT_DATA([mh_aliases],[
-korzen: =root
-])
-awk -F : '$1=="root" { print $4 }' /etc/group | tr -d ' ' > expout
+awk -F : '$4!="" { print $1; print $4; exit 0 }' /etc/group > tmpout
+test -s tmpout || AT_SKIP_TEST
+sed -n '1s/.*/korzen: =&/p' tmpout > mh_aliases
+sed '1d' tmpout | tr -d ' ' > expout
ali -a ./mh_aliases korzen | tr -d ' '
],
[0],

Return to:

Send suggestions and report system problems to the System administrator.