File: test.sh

package info (click to toggle)
lua-sec 0.7-1~bpo9+1
  • links: PTS, VCS
  • area: main
  • in suites: stretch-backports
  • size: 808 kB
  • sloc: ansic: 3,332; makefile: 106; sh: 46
file content (13 lines) | stat: -rw-r--r-- 132 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e
set -x

cd samples/oneshot/

lua server.lua &
sleep 1
ret=0
lua client.lua || ret=$?
kill -9 %1 || true
exit $ret