Skip to content

Commit

Permalink
-Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo-gomez-windhover committed Sep 4, 2024
1 parent f55ac39 commit 615b7f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unit-test/main_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ std::string getmd5sumFromSystem(char resolvedPath[PATH_MAX]) {
std::string MD5CommandStr { "md5sum " };
MD5CommandStr += resolvedPath;
MD5CommandStr += " >MD5.txt";
std::system(MD5CommandStr.c_str()); // executes the UNIX command "ls -l >test.txt"
std::system(MD5CommandStr.c_str()); // executes the UNIX command "md5sum resolvedPath[PATH_MAX] >MD5.txt"
std::strstream expectedMD5 { };
expectedMD5 << std::ifstream("MD5.txt").rdbuf();
REQUIRE(remove("./MD5.txt") == 0);
Expand Down

0 comments on commit 615b7f1

Please sign in to comment.