Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/libexec/ld.elf_so test helper program exit code, not t...
details: https://anonhg.NetBSD.org/src/rev/02128316bf81
branches: trunk
changeset: 760216:02128316bf81
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Dec 31 08:52:32 2010 +0000
description:
test helper program exit code, not test program exit code
diffstat:
tests/libexec/ld.elf_so/t_df_1_noopen.sh | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r 5dccb0c21fc4 -r 02128316bf81 tests/libexec/ld.elf_so/t_df_1_noopen.sh
--- a/tests/libexec/ld.elf_so/t_df_1_noopen.sh Fri Dec 31 08:17:54 2010 +0000
+++ b/tests/libexec/ld.elf_so/t_df_1_noopen.sh Fri Dec 31 08:52:32 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_df_1_noopen.sh,v 1.1 2010/12/24 12:41:43 skrll Exp $
+# $NetBSD: t_df_1_noopen.sh,v 1.2 2010/12/31 08:52:32 pooka Exp $
#
# Copyright (c) 2010 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -39,8 +39,7 @@
h_df_1_noopen1: Cannot dlopen non-loadable /usr/lib/libpthread.so
EOF
- atf_check -o file:expout "$(atf_get_srcdir)/h_df_1_noopen1"
- atf_expect_exit 1 "libpthread is marked DF_1_NOOPEN"
+ atf_check -s exit:1 -e file:expout "$(atf_get_srcdir)/h_df_1_noopen1"
}
atf_test_case df_1_noopen2
Home |
Main Index |
Thread Index |
Old Index