[PATCH] Small fix for a testscript

Ralph Böhme slow at samba.org
Wed Apr 5 09:16:02 UTC 2017


Hi!

Attached is a simple fix for one our our selftest scripts. Should be obvious.

Please review & push if happy. Thanks!

Cheerio!
-slow
-------------- next part --------------
From 25a81fa65e6357a9ddae9e7ed6e531d8068a9d17 Mon Sep 17 00:00:00 2001
From: Ralph Boehme <slow at samba.org>
Date: Wed, 5 Apr 2017 11:13:43 +0200
Subject: [PATCH] selftest: fix SID composition in a test script

Signed-off-by: Ralph Boehme <slow at samba.org>
---
 nsswitch/tests/test_idmap_nss.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nsswitch/tests/test_idmap_nss.sh b/nsswitch/tests/test_idmap_nss.sh
index 999bccb..5072a0d 100755
--- a/nsswitch/tests/test_idmap_nss.sh
+++ b/nsswitch/tests/test_idmap_nss.sh
@@ -22,7 +22,7 @@ RID=66666
 while true ; do
     id $RID
     if [ $? -ne 0 ] ; then
-	$wbinfo -s $DOMAIN_SID\\$RID
+	$wbinfo -s $DOMAIN_SID-$RID
 	if [ $? -ne 0 ] ; then
 	    break
 	fi
-- 
2.9.3



More information about the samba-technical mailing list