tests/ceph: add Makefile
[xfstests-dev.git] / check
diff --git a/check b/check
index 8b5e241ca90c0ed9d151e59b4808a3f77e595d45..5072dd82c1853f86593131a6673bf52d4cf3b4c3 100755 (executable)
--- a/check
+++ b/check
@@ -393,7 +393,7 @@ _wipe_counters()
 
 _global_log() {
        echo "$1" >> $check.log
-       if $OPTIONS_HAVE_SECIONS; then
+       if $OPTIONS_HAVE_SECTIONS; then
                echo "$1" >> ${REPORT_DIR}/check.log
        fi
 }
@@ -441,7 +441,7 @@ _wrapup()
                fi
 
                $interrupt && echo "Interrupted!" | tee -a $check.log
-               if $OPTIONS_HAVE_SECIONS; then
+               if $OPTIONS_HAVE_SECTIONS; then
                        $interrupt && echo "Interrupted!" | tee -a \
                                ${REPORT_DIR}/check.log
                fi