svn commit: samba r21796 - in branches/SAMBA_4_0/source/lib/replace/test: .

metze at samba.org metze at samba.org
Mon Mar 12 11:31:07 GMT 2007


Author: metze
Date: 2007-03-12 11:31:06 +0000 (Mon, 12 Mar 2007)
New Revision: 21796

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21796

Log:
check if unsetenv() works on an non-existing key

metze
Modified:
   branches/SAMBA_4_0/source/lib/replace/test/testsuite.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/test/testsuite.c
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/test/testsuite.c	2007-03-12 10:12:27 UTC (rev 21795)
+++ branches/SAMBA_4_0/source/lib/replace/test/testsuite.c	2007-03-12 11:31:06 UTC (rev 21796)
@@ -229,8 +229,10 @@
 	TEST_SETENV(SETENVTEST_KEY, SETENVTEST_VAL"3", 1, SETENVTEST_VAL"3");
 	TEST_SETENV(SETENVTEST_KEY, SETENVTEST_VAL"4", 1, SETENVTEST_VAL"4");
 	TEST_UNSETENV(SETENVTEST_KEY);
+	TEST_UNSETENV(SETENVTEST_KEY);
 	TEST_SETENV(SETENVTEST_KEY, SETENVTEST_VAL"5", 0, SETENVTEST_VAL"5");
 	TEST_UNSETENV(SETENVTEST_KEY);
+	TEST_UNSETENV(SETENVTEST_KEY);
 	printf("success: setenv\n");
 	return true;
 }



More information about the samba-cvs mailing list