selftest: update SED_INVALID_PARAMS in the registry.roundtrip test
authorMichael Adam <obnox@samba.org>
Sun, 22 Sep 2013 01:06:12 +0000 (03:06 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 24 Sep 2013 05:44:29 +0000 (07:44 +0200)
and add an explaining comment.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/script/tests/test_net_registry_roundtrip.sh

index f2158879e36583aab177dd22a4681ebca5ac46ba..c676830b102fd3e1942db76525d43ed1c8d5a7ba 100755 (executable)
@@ -32,21 +32,15 @@ incdir=`dirname $0`/../../../testprogs/blackbox
 
 failed=0
 
+#
+# List of parameters to skip when importing configuration files:
+# They are forbidden in the registry and would lead import to fail.
+#
 SED_INVALID_PARAMS="{
 s/lock directory/;&/g
 s/lock dir/;&/g
-s/modules dir/;&/g
-s/logging/;&/g
-s/status/;&/g
-s/logdir/;&/g
-s/read prediction/;&/g
-s/mkprofile/;&/g
-s/valid chars/;&/g
-s/timesync/;&/g
-s/sambaconf/;&/g
-s/logtype/;&/g
-s/servername/;&/g
-s/postscript/;&/g
+s/config backend/;&/g
+s/include/;&/g
 }"
 
 REGPATH="HKLM\Software\Samba"