From 90a3a06b0ba1e4db0722faa8c85482deeea37996 Mon Sep 17 00:00:00 2001 From: benthompson15 Date: Mon, 23 Sep 2019 15:02:06 -0500 Subject: [PATCH] fix path in copy test --- storage-manager/src/unit_tests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storage-manager/src/unit_tests.cpp b/storage-manager/src/unit_tests.cpp index bb11068f1..a800c85af 100644 --- a/storage-manager/src/unit_tests.cpp +++ b/storage-manager/src/unit_tests.cpp @@ -1550,8 +1550,8 @@ void IOCCopyFile2() bf::path fullPath = homepath / prefix / "not-there"; const char *source = fullPath.string().c_str(); - fullPath = homepath / prefix / "not-there2"; - const char *dest = fullPath.string().c_str(); + bf::path fullPath2 = homepath / prefix / "not-there2"; + const char *dest = fullPath2.string().c_str(); bf::path metaPath = ioc->getMetadataPath(); bf::remove(metaPath/prefix/"not-there.meta");