+3145. [test] Capture output of ATF unit tests in "./atf.out" if
+ there were any errors while running them. [RT #25527]
+
3144. [bug] dns_dbiterator_seek() could trigger an assert when
used with a nonexistent database node. [RT #25358]
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
-# $Id: Makefile.in,v 1.6 2011/08/23 00:59:23 each Exp $
+# $Id: Makefile.in,v 1.7 2011/08/23 01:29:38 each Exp $
srcdir = @srcdir@
VPATH = @srcdir@
clean distclean::
rm -f ${TARGETS}
+ rm -f atf.out
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: update_test.c,v 1.4 2011/07/06 18:11:35 each Exp $ */
+/* $Id: update_test.c,v 1.5 2011/08/23 01:29:38 each Exp $ */
/* $Id: */
ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
new = dns_update_soaserial(old, dns_updatemethod_increment);
ATF_REQUIRE_EQ(isc_serial_lt(old, new), ISC_TRUE);
- ATF_CHECK(new != 0);
+ ATF_CHECK_MSG(new != 0, "new (%d) should not equal 0", new);
ATF_REQUIRE_EQ(new, 51);
dns_test_end();
}
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
-# $Id: Makefile.in,v 1.5 2011/08/23 00:59:23 each Exp $
+# $Id: Makefile.in,v 1.6 2011/08/23 01:29:38 each Exp $
srcdir = @srcdir@
VPATH = @srcdir@
clean distclean::
rm -f ${TARGETS}
+ rm -f atf.out
if [ -n "@ATFBIN@" ]
then
- # | cat is there to force non-fancy output
- atf-run | atf-report | cat
+ atf-run > atf.out
+ status=$?
+ atf-report < atf.out
+ [ $status -eq 0 ] && rm -f atf.out
fi