Harald Hoyer 02dec6
From 712f471ebfae70fd71c0c740e9a3e120464ca7e7 Mon Sep 17 00:00:00 2001
Harald Hoyer 02dec6
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 02dec6
Date: Tue, 4 Dec 2018 10:06:12 +0100
Harald Hoyer 02dec6
Subject: [PATCH] test/test-functions: correctly move server.log
Harald Hoyer 02dec6
Harald Hoyer 02dec6
---
Harald Hoyer 02dec6
 test/test-functions | 2 +-
Harald Hoyer 02dec6
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer 02dec6
Harald Hoyer 02dec6
diff --git a/test/test-functions b/test/test-functions
Harald Hoyer 02dec6
index a6254ec7..51b3df80 100644
Harald Hoyer 02dec6
--- a/test/test-functions
Harald Hoyer 02dec6
+++ b/test/test-functions
Harald Hoyer 02dec6
@@ -80,7 +80,7 @@ while (($# > 0)); do
Harald Hoyer 02dec6
                     ret=$?
Harald Hoyer 02dec6
                     test_cleanup
Harald Hoyer 02dec6
                     if ((ret!=0)) && [[ -f "$TESTDIR"/server.log ]]; then
Harald Hoyer 02dec6
-                        mv [[ -f "$TESTDIR"/server.log ]] ./server${TEST_RUN_ID:+-$TEST_RUN_ID}.log
Harald Hoyer 02dec6
+                        mv "$TESTDIR"/server.log ./server${TEST_RUN_ID:+-$TEST_RUN_ID}.log
Harald Hoyer 02dec6
                     fi
Harald Hoyer 02dec6
                     rm -fr -- "$TESTDIR"
Harald Hoyer 02dec6
                     rm -f -- .testdir${TEST_RUN_ID:+-$TEST_RUN_ID}
Harald Hoyer 02dec6