Module: kamailio
Branch: master
Commit: b5e37ea5096817b90368098ab432bc1c2894fa2c
URL:
https://github.com/kamailio/kamailio/commit/b5e37ea5096817b90368098ab432bc1…
Author: Mikko Lehto <mslehto(a)iki.fi>
Committer: Mikko Lehto <mslehto(a)iki.fi>
Date: 2017-01-11T01:45:50+02:00
test/unit: update unit test 18
- does not need bash
- remove duplicate PID file argument
---
Modified: test/unit/18.sh
---
Diff:
https://github.com/kamailio/kamailio/commit/b5e37ea5096817b90368098ab432bc1…
Patch:
https://github.com/kamailio/kamailio/commit/b5e37ea5096817b90368098ab432bc1…
---
diff --git a/test/unit/18.sh b/test/unit/18.sh
index e296106..ce17ad8 100755
--- a/test/unit/18.sh
+++ b/test/unit/18.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# runs ../kamailio with all command line arguments.
# ommited options are -h -v -I -c -D -V
@@ -34,7 +34,7 @@ CFG=18.cfg
printf "debug=3\nrequest_route {\n ;\n}" > $CFG
# start:
-$BIN -L $MOD_DIR -Y $RUN_DIR -P $PIDFILE -f ./$CFG -l 127.0.0.1 -n 0 -r -R -E -d -e -K -T
-N 0 -b 23 -m 42 -w . -u $(id -u) -g $(id -g) -P ./pid.out -G ./pgid.out -a no -A TESTDEF
> /dev/null 2>&1
+$BIN -L $MOD_DIR -Y $RUN_DIR -P $PIDFILE -f ./$CFG -l 127.0.0.1 -n 0 -r -R -E -d -e -K -T
-N 0 -b 23 -m 42 -w . -u $(id -u) -g $(id -g) -G ./pgid.out -a no -A TESTDEF >
/dev/null 2>&1
ret=$?