浏览代码

Fixed path of ser exacutable in test(18.sh)
Improved cleaning of files(18.sh)

Marius Zbihlei 16 年之前
父节点
当前提交
2b6a11bc62
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      test/unit/18.sh

+ 4 - 1
test/unit/18.sh

@@ -34,7 +34,7 @@ CFG=18.cfg
 echo -e "debug=3" > $CFG
 
 # start:
-../$BIN -f ./$CFG -l 127.0.0.1 -n 0 -rR -v  -E -d -T -N 0 -b 23 -m 42 -w ./  -u $(id -u)  -g $(id -g) -P ./pid.out -G ./pgid.out  > /dev/null 2>&1
+$BIN -f ./$CFG -l 127.0.0.1 -n 0 -rR -v  -E -d -T -N 0 -b 23 -m 42 -w ./  -u $(id -u)  -g $(id -g) -P ./pid.out -G ./pgid.out  > /dev/null 2>&1
 
 ret=$?
 
@@ -44,4 +44,7 @@ sleep 1
 $KILL
 
 rm $CFG
+rm -f ./pid.out
+rm -f ./pgid.out 
+
 exit $ret