From b10ae68700e7642c237deaa8fd11da36694e7384 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 15 May 2001 01:54:22 +0000 Subject: Fixed lookup of entire /etc/{passwd,group} file line. (This used to be commit b208d74e0524514fdb48f80c76192df12238a64e) --- testsuite/nsswitch/wbinfo.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/nsswitch') diff --git a/testsuite/nsswitch/wbinfo.exp b/testsuite/nsswitch/wbinfo.exp index 81ac14b78f..3518db387b 100644 --- a/testsuite/nsswitch/wbinfo.exp +++ b/testsuite/nsswitch/wbinfo.exp @@ -295,10 +295,10 @@ proc check_errcode { args } { } } -set gooduser_name [lindex $user_list 0] +set gooduser_name [lindex [split [lindex $user_list 0] ":"] 0] set gooduser_sid [util_start "bin/wbinfo" "-n $gooduser_name"] -set goodgroup_name [lindex $group_list 0] +set goodgroup_name [lindex [split [lindex $group_list 0] ":"] 0] set goodgroup_sid [util_start "bin/wbinfo" "-n $goodgroup_name"] # Some conditions not tested: -- cgit