☰
Debian Codegraph
@
0.3.24+~0.3.36-2
/
/
debian
/
tests
/
pkg-js
/
test
☽
☼
debian/tests/pkg-js/test
code
plain
raw
Expat
2022, Andrius Merkys <
[email protected]
>
debian/copyright
1
#!/bin/sh
2
3
TEST_PORT=`shuf -i 3000-65000 -n 1`
4
export TEST_PORT
5
cd tests/test_server
6
node server.js &
7
PID=$!
8
sleep 1
9
curl http://localhost:$TEST_PORT/echo|grep 'Welcome to SockJS'
10
11
kill $PID