svn commit: samba r8652 - in branches/SAMBA_4_0/testprogs/ejs: .

tridge at samba.org tridge at samba.org
Wed Jul 20 11:56:07 GMT 2005


Author: tridge
Date: 2005-07-20 11:56:07 +0000 (Wed, 20 Jul 2005)
New Revision: 8652

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

Log:
added a test for the boolean bug just fixed

Modified:
   branches/SAMBA_4_0/testprogs/ejs/bugs.js


Changeset:
Modified: branches/SAMBA_4_0/testprogs/ejs/bugs.js
===================================================================
--- branches/SAMBA_4_0/testprogs/ejs/bugs.js	2005-07-20 11:55:20 UTC (rev 8651)
+++ branches/SAMBA_4_0/testprogs/ejs/bugs.js	2005-07-20 11:56:07 UTC (rev 8652)
@@ -128,6 +128,22 @@
 }
 
 
+/****************************************
+demo incorrect handling of boolean functions
+status: SUBMITTED
+*****************************************/
+function no()
+{
+	return false;
+}
+
+function boolbug()
+{
+	assert(false == no());
+	assert(!no());
+}
+
+
 /* run the tests */
 arraybug();
 argsbug("one", "two", "three");
@@ -135,4 +151,5 @@
 exprbug();
 fnbug(callback);
 reservedbug();
+boolbug();
 objbug();



More information about the samba-cvs mailing list