X-Git-Url: https://rtime.felk.cvut.cz/gitweb/frescor/forb.git/blobdiff_plain/f2b0f58ec93334f3855509c50386f84ef71c401a..0b6182ef98e8923edcfa11687ba4900472c91c63:/src/forbrun/tests/forbrun.sh diff --git a/src/forbrun/tests/forbrun.sh b/src/forbrun/tests/forbrun.sh index 0faad99..0bdaea2 100755 --- a/src/forbrun/tests/forbrun.sh +++ b/src/forbrun/tests/forbrun.sh @@ -24,16 +24,16 @@ WVSTART "Both server and client in a single process" WVPASS sh -c 'forbrun -- libtest_obj.so "Hello" -- libtest_client.so > output' WVPASSEQ "$(cat output)" "Hello" -WVSTART "Server and client in separate processes" -# Run server on background -rm -f test.pid -WVPASS sh -c 'forbrun --daemon=test.pid -- libtest_obj.so "Hello" > output' -WVPASS test -f test.pid - -# Run client -WVPASS forbrun -- libtest_client.so -WVPASS kill $(cat test.pid) - -# Test whether the server was called -WVPASSEQ "$(cat output)" "Hello" +# WVSTART "Server and client in separate processes" +# # Run server on background +# rm -f test.pid +# WVPASS sh -c 'forbrun --daemon=test.pid -- libtest_obj.so "Hello" > output' +# WVPASS test -f test.pid + +# # Run client +# WVPASS forbrun -- libtest_client.so +# WVPASS kill $(cat test.pid) + +# # Test whether the server was called +# WVPASSEQ "$(cat output)" "Hello"