diff --git a/.travis.yml b/.travis.yml index 0d583dbc..9c638722 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ compiler: gcc before_install: - sudo apt-get install -y -qq libgpm-dev script: ./autogen.sh && ./configure && make && make check -after_script: test -e test/test-suite.log && cat test/test-suite.log +after_script: ls && ls test && cat test/test-suite.log env: global: diff --git a/test/test_logfile.sh b/test/test_logfile.sh index 11d2e8ba..b6c6bd00 100644 --- a/test/test_logfile.sh +++ b/test/test_logfile.sh @@ -52,7 +52,7 @@ Dec 03 09:23:38 2006 -- 000 Jan 03 09:47:02 2007 -- 000 EOF -if test "$BZIP2_SUPPORT" -eq 1 -a test x"$BZIP2_CMD" != x""; then +if [ "$BZIP2_SUPPORT" -eq 1 ] && [ x"$BZIP2_CMD" != x"" ] ; then $BZIP2_CMD -z -c "${srcdir}/logfile_syslog.1" > logfile_syslog.1.bz2 touch -t 200711030923 logfile_syslog.1.bz2