diff options
Diffstat (limited to 'tests/auto/qsharedmemory/lackey/scripts/systemsemaphore_release.js')
-rw-r--r-- | tests/auto/qsharedmemory/lackey/scripts/systemsemaphore_release.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/qsharedmemory/lackey/scripts/systemsemaphore_release.js b/tests/auto/qsharedmemory/lackey/scripts/systemsemaphore_release.js new file mode 100644 index 0000000..c805e0f --- /dev/null +++ b/tests/auto/qsharedmemory/lackey/scripts/systemsemaphore_release.js @@ -0,0 +1,11 @@ +function QVERIFY(x, debugInfo) { + if (!(x)) { + print(debugInfo); + throw(debugInfo); + } +} + +var sem = new ScriptSystemSemaphore; +sem.setKey("store"); +QVERIFY(sem.release()); +print ("done releasing"); |