Browse Source

Fixed test 33

Marius Zbihlei 16 năm trước cách đây
mục cha
commit
ce1aa3f87a
2 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 1 1
      test/unit/33.cfg
  2. 3 3
      test/unit/33.sh

+ 1 - 1
test/unit/33.cfg

@@ -1,6 +1,6 @@
 debug=3
 memlog=2
-mpath="../modules/"
+mpath="../../modules_k/"
 loadmodule "cfgutils.so"
 loadmodule "pv.so"
 loadmodule "xlog.so"

+ 3 - 3
test/unit/33.sh

@@ -35,19 +35,19 @@ CFG=33.cfg
 
 cp $CFG $CFG.bak
 
-../$BIN -w . -f $CFG > /dev/null
+$BIN -w . -f $CFG > /dev/null
 ret=$?
 
 sleep 1
 
 if [ $ret -eq 0 ] ; then
-	../scripts/$CTL fifo check_config_hash |grep "The actual config file hash is identical to the stored one." > /dev/null
+	$CTL fifo check_config_hash |grep "The actual config file hash is identical to the stored one." > /dev/null
 	ret=$?
 fi;
 
 echo " " >> $CFG
 if [ $ret -eq 0 ] ; then
-	../scripts/$CTL fifo check_config_hash |grep "The actual config file hash is identical to the stored one." /dev/null
+	$CTL fifo check_config_hash |grep "The actual config file hash is identical to the stored one." /dev/null
 	ret=$?
 fi;