[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
63-at-check.patch
From: |
Akim Demaille |
Subject: |
63-at-check.patch |
Date: |
Tue, 05 Dec 2000 09:44:32 +0100 |
Index: ChangeLog
from Akim Demaille <address@hidden>
* tests/atgeneral.m4 (AT_CHECK): Fix the m4_ifval invocation.
Index: tests/atgeneral.m4
--- tests/atgeneral.m4 Sat, 02 Dec 2000 13:28:42 +0100 akim
(ace/b/19_atgeneral. 1.37 644)
+++ tests/atgeneral.m4 Sun, 03 Dec 2000 15:01:26 +0100 akim
(ace/b/19_atgeneral. 1.37 644)
@@ -427,8 +427,8 @@ m4_define([AT_CHECK],
$at_check_stds && exec 5>&1 6>&2 1>stdout 2>stderr
$at_traceon
$1
-m4_ifval([$2],
- [at_status=$?
+m4_ifvaln([$2],
+ [at_status=$?
$at_traceoff
if test $at_status != $2; then
$at_verbose "Exit code was $at_status, expected $2" >&6
@@ -437,9 +437,8 @@ m4_define([AT_CHECK],
dnl Preserve exit code 77.
test $at_status = 77 && exit 77
exit 1
-fi
-],
- [$at_traceoff])dnl
+fi],
+ [$at_traceoff])[]dnl
if $at_check_stds; then
dnl Restore stdout to fd1 and stderr to fd2.
exec 1>&5 2>&6
- 63-at-check.patch,
Akim Demaille <=