]> rtime.felk.cvut.cz Git - frescor/frsh.git/blobdiff - frsh_api/tests/wvtest.sh
test: Convert spare capacity test to wvtest
[frescor/frsh.git] / frsh_api / tests / wvtest.sh
deleted file mode 120000 (symlink)
index 19820690ee7064479b6524e1b3bfb80a9a936270..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-../../../wvtest.sh
\ No newline at end of file
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..e04d48cce0f065d0ebce70a3a696bead03e0c699
--- /dev/null
@@ -0,0 +1,14 @@
+. $(dirname $0)/../../../wvtest.sh
+
+setup_dummy() {
+    WVSTART Setup
+    WVPASS fcb -dfcb.pid
+    WVPASS frm_dummy -dfrm.pid
+    trap '
+WVSTART Kill
+WVPASS kill `cat fcb.pid`
+WVPASS rm fcb.pid
+WVPASS kill `cat frm.pid`
+WVPASS rm frm.pid
+' 0
+}