Browse code

properly remove old logfiles during make check.

git-svn: trunk@5019

Török Edvin authored on 2009/04/03 17:32:38
Showing 2 changed files
... ...
@@ -1,3 +1,8 @@
1
+Fri Apr  3 11:32:33 EEST 2009 (edwin)
2
+-------------------------------------
3
+ * unit_tests/check_clamd.sh: properly remove old logfiles during
4
+ make check.
5
+
1 6
 Fri Apr  3 11:25:08 EEST 2009 (edwin)
2 7
 -------------------------------------
3 8
  * configure, configure.in, libclamav/others.c,
... ...
@@ -54,7 +54,7 @@ scan_failed() {
54 54
 
55 55
 start_clamd()
56 56
 {
57
-	rm -f clamd-test.log clamd-test1.log clamd-test2.log
57
+	rm -f clamd-test.log ../clamd-test1.log ../clamd-test2.log
58 58
 	$LTEXEC $CLAMD_WRAPPER $TOP/clamd/clamd -c $1 --help >clamd-test.log 2>&1 || 
59 59
 		{ error "Failed to start clamd --help!"; cat clamd-test.log; die 1; }
60 60
 	grep "Clam AntiVirus Daemon" clamd-test.log >/dev/null ||