diff options
Diffstat (limited to 'libmailutils/tests/strerr.at')
-rw-r--r-- | libmailutils/tests/strerr.at | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/libmailutils/tests/strerr.at b/libmailutils/tests/strerr.at index 018be60f3..946ad2fce 100644 --- a/libmailutils/tests/strerr.at +++ b/libmailutils/tests/strerr.at @@ -15,22 +15,18 @@ # along with GNU Mailutils. If not, see <http://www.gnu.org/licenses/>. AT_SETUP([strerr]) -AT_KEYWORDS([stdstream]) +AT_KEYWORDS([stdstream strerr]) -AT_CHECK([ -strout -err now is the time for all good men -], +AT_DATA([experr], +[The fact that an opinion has been widely held is no evidence that it is not +utterly absurd; indeed, in view of the silliness of the majority of mankind, +a widespread belief is more often likely to be foolish than sensible. +]) + +AT_CHECK([strout -err < experr], [0], [], -[strout: now -strout: is -strout: the -strout: time -strout: for -strout: all -strout: good -strout: men -]) +[experr]) AT_CLEANUP |