From owner-p4-projects@FreeBSD.ORG Fri Jun 30 17:51:15 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 4E20A16A565; Fri, 30 Jun 2006 17:51:15 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D9B716A52E for ; Fri, 30 Jun 2006 17:51:15 +0000 (UTC) (envelope-from bushman@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DEDB441F2 for ; Fri, 30 Jun 2006 17:25:08 +0000 (GMT) (envelope-from bushman@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k5UHP8rd065707 for ; Fri, 30 Jun 2006 17:25:08 GMT (envelope-from bushman@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k5UHP8ea065704 for perforce@freebsd.org; Fri, 30 Jun 2006 17:25:08 GMT (envelope-from bushman@freebsd.org) Date: Fri, 30 Jun 2006 17:25:08 GMT Message-Id: <200606301725.k5UHP8ea065704@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bushman@freebsd.org using -f From: Michael Bushkov To: Perforce Change Reviews Cc: Subject: PERFORCE change 100354 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 17:51:15 -0000 http://perforce.freebsd.org/chv.cgi?CH=100354 Change 100354 by bushman@bushman_nss_ldap_cached on 2006/06/30 17:24:07 Regression test for services and testutil.h (which will be required for all nsswitch regressions) were added. A bug in test-wordexp.c (in libc/gen regression) fixed. Affected files ... .. //depot/projects/soc2006/nss_ldap_cached/src/tools/regression/lib/libc/gen/test-wordexp.c#2 edit .. //depot/projects/soc2006/nss_ldap_cached/src/tools/regression/lib/libc/nss/Makefile#1 add .. //depot/projects/soc2006/nss_ldap_cached/src/tools/regression/lib/libc/nss/test-getgr.c#1 add .. //depot/projects/soc2006/nss_ldap_cached/src/tools/regression/lib/libc/nss/test-getpw.c#1 add .. //depot/projects/soc2006/nss_ldap_cached/src/tools/regression/lib/libc/nss/test-getserv.c#1 add .. //depot/projects/soc2006/nss_ldap_cached/src/tools/regression/lib/libc/nss/test-getserv.t#1 add .. //depot/projects/soc2006/nss_ldap_cached/src/tools/regression/lib/libc/nss/testutil.h#1 add Differences ... ==== //depot/projects/soc2006/nss_ldap_cached/src/tools/regression/lib/libc/gen/test-wordexp.c#2 (text+ko) ==== @@ -45,7 +45,7 @@ int r; /* Test that the macros are there. */ - (void)(WRDE_APPEND + WRDE_DOOFS + WRDE_NOCMD + WRDE_REUSE + + (void)(WRDE_APPEND + WRDE_DOOFFS + WRDE_NOCMD + WRDE_REUSE + WRDE_SHOWERR + WRDE_UNDEF); (void)(WRDE_BADCHAR + WRDE_BADVAL + WRDE_CMDSUB + WRDE_NOSPACE + WRDE_SYNTAX); @@ -59,9 +59,9 @@ assert(we.we_wordv[2] == NULL); wordfree(&we); - /* WRDE_DOOFS */ + /* WRDE_DOOFFS */ we.we_offs = 3; - r = wordexp("hello world", &we, WRDE_DOOFS); + r = wordexp("hello world", &we, WRDE_DOOFFS); assert(r == 0); assert(we.we_wordc == 2); assert(we.we_wordv[0] == NULL); @@ -95,13 +95,13 @@ assert(we.we_wordv[4] == NULL); wordfree(&we); - /* WRDE_DOOFS + WRDE_APPEND */ + /* WRDE_DOOFFS + WRDE_APPEND */ we.we_offs = 2; - r = wordexp("this is", &we, WRDE_DOOFS); + r = wordexp("this is", &we, WRDE_DOOFFS); assert(r == 0); - r = wordexp("a test", &we, WRDE_APPEND|WRDE_DOOFS); + r = wordexp("a test", &we, WRDE_APPEND|WRDE_DOOFFS); assert(r == 0); - r = wordexp("of wordexp", &we, WRDE_APPEND|WRDE_DOOFS); + r = wordexp("of wordexp", &we, WRDE_APPEND|WRDE_DOOFFS); assert(r == 0); assert(we.we_wordc == 6); assert(we.we_wordv[0] == NULL);