diff -r dee5afe5301f -r 3f74d0d4af4c tests/auto/qtipc/lackey/scripts/systemlock_read.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/auto/qtipc/lackey/scripts/systemlock_read.js Thu Apr 08 14:19:33 2010 +0300 @@ -0,0 +1,11 @@ +function QVERIFY(x, debugInfo) { + if (!(x)) { + print(debugInfo); + throw(debugInfo); + } +} + +var lock = new ScriptSystemLock; +lock.setKey("market"); +QVERIFY(lock.lockReadOnly()); +QVERIFY(lock.unlock()); \ No newline at end of file