From a7d6382cf2317a0d2502f4410fb372778059206f Mon Sep 17 00:00:00 2001 From: David Steele Date: Fri, 8 May 2015 19:33:34 -0400 Subject: [PATCH] Unit test fix for absolute path change in a0d985b7ad37bb2582d6d92ddd225a9090da1b64. --- test/lib/BackRestTest/ConfigTest.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/BackRestTest/ConfigTest.pm b/test/lib/BackRestTest/ConfigTest.pm index 1e9e935d7..55a5feaa7 100755 --- a/test/lib/BackRestTest/ConfigTest.pm +++ b/test/lib/BackRestTest/ConfigTest.pm @@ -517,7 +517,7 @@ sub BackRestTestConfig_Test configLoadExpect($oOption, OP_RESTORE); my $strCommand = operationWrite(OP_ARCHIVE_GET); - my $strExpectedCommand = "$0 --backup-host=db.mydomain.com \"--db-path=/db path/main\"" . + my $strExpectedCommand = abs_path($0) . " --backup-host=db.mydomain.com \"--db-path=/db path/main\"" . " --repo-path=/repo --stanza=main " . OP_ARCHIVE_GET; if ($strCommand ne $strExpectedCommand)