summaryrefslogtreecommitdiff
path: root/testsuite/nsswitch
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/nsswitch')
-rw-r--r--testsuite/nsswitch/wbinfo.exp4
1 files changed, 2 insertions, 2 deletions
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: