Rev 11883: Unlink all schemas /but/ the core ones. in file:///home/jelmer/bzr.samba/SAMBA_4_0/

Jelmer Vernooij jelmer at samba.org
Tue Apr 17 00:40:15 GMT 2007


At file:///home/jelmer/bzr.samba/SAMBA_4_0/

------------------------------------------------------------
revno: 11883
revision-id: jelmer at samba.org-20070417003941-eou3so7en80fmtav
parent: jelmer at samba.org-20070417003537-smfal94m26ngylh8
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: SAMBA_4_0
timestamp: Tue 2007-04-17 02:39:41 +0200
message:
  Unlink all schemas /but/ the core ones.
modified:
  source/script/tests/Samba4.pm  svn-v2:21707 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2fscript%2ftests%2fSamba4.pm
=== modified file 'source/script/tests/Samba4.pm'
--- a/source/script/tests/Samba4.pm	2007-04-17 00:35:37 +0000
+++ b/source/script/tests/Samba4.pm	2007-04-17 00:39:41 +0000
@@ -228,7 +228,9 @@
 
 	system("perl $ENV{FEDORA_DS_PREFIX}/bin/ds_newinst.pl $fedora_ds_inf >&2") == 0 or return 0;
 
-	system(<$fedora_ds_dir/schema/00core.*>);
+	foreach(<$fedora_ds_dir/schema/*>) {
+		unlink unless (/00core.*/);
+	}
 
 	open(LDIF, ">$fedora_ds_dir/dse.ldif");
 	print LDIF "



More information about the samba-cvs mailing list