diff options
Diffstat (limited to 'testsuite/nsswitch')
-rw-r--r-- | testsuite/nsswitch/wbinfo.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/nsswitch/wbinfo.exp b/testsuite/nsswitch/wbinfo.exp index 81ac14b78f0..3518db387be 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: |