浏览代码

- small bugfix

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@4177 689a6050-402a-0410-94f2-e92a70836424
Henning Westerholt 17 年之前
父节点
当前提交
5d6f59660c
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 2 0
      test/unit/10.sh
  2. 2 0
      test/unit/9.sh

+ 2 - 0
test/unit/10.sh

@@ -23,6 +23,7 @@ cd ../scripts
 
 # setup config file
 cp openserctlrc openserctlrc.bak
+cp openserctl openserctl.bak
 sed -i "s/# DBENGINE=MYSQL/DBENGINE=DBTEXT/g" openserctlrc
 sed -i "s/TEST=\"false\"/TEST=\"true\"/g" openserctl
 
@@ -42,6 +43,7 @@ fi ;
 
 # cleanup
 mv openserctlrc.bak openserctlrc
+mv openserctl.bak openserctl
 
 cd ../test
 exit $ret

+ 2 - 0
test/unit/9.sh

@@ -23,6 +23,7 @@ cd ../scripts
 
 # setup config file
 cp openserctlrc openserctlrc.bak
+cp openserctl openserctl.bak
 sed -i "s/# DBENGINE=MYSQL/DBENGINE=MYSQL/g" openserctlrc
 sed -i "s/TEST=\"false\"/TEST=\"true\"/g" openserctl
 
@@ -42,6 +43,7 @@ fi ;
 
 # cleanup
 mv openserctlrc.bak openserctlrc
+mv openserctl.bak openserctl
 
 cd ../test
 exit $ret