rem: if (!ok) { dprintf("error adding %s: %s\n", o.name, ldb.errstring()); 
add: if (ok.error != 0) { dprintf("error adding %s: %s\n", o.name, ok.errstr); 
context: function find_objectclass_auto(ldb, o) {	if (o["exampleDN"] == undefined) {		return;	}	var testdn = create_testdn(o.exampleDN);	var ok;	dprintf("testdn is '%s'\n", testdn);	var ldif = "dn: " + testdn;	ldif = ldif + "\nobjectClass: " + o.name;	ok = ldb.add(ldif);	if (!ok) {		dprintf("error adding %s: %s\n", o.name, ldb.errstring());		dprintf("%s\n", ldif);		return;	}	var res = ldb.search("", testdn, ldb.SCOPE_BASE);	ok = ldb.del(testdn);	assert(ok);	var a;	for (a in res[0]) {		attributes[a].autocreate = true;	}}
meta: 5771	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5771/7ca399c0755e186508a4ed9796cbbbe6f50181e9/minschema.js/buggy/testprogs/ejs/minschema.js