Update FSFW from Upstream #27

Merged
muellerr merged 523 commits from mueller/update-from-upstream into develop 2022-05-17 10:06:59 +02:00
Showing only changes of commit 368481f88b - Show all commits

View File

@ -60,7 +60,8 @@ TEST_CASE( "Command Executor" , "[cmd-exec]") {
uint8_t readBuffer[32];
REQUIRE(outputBuffer.readData(readBuffer, 12) == HasReturnvaluesIF::RETURN_OK);
std::string cmpString = "Hello World\n";
CHECK(strcmp(reinterpret_cast<char*>(readBuffer), cmpString.c_str()) == 0);
int cmpResult = strcmp(reinterpret_cast<char*>(readBuffer), cmpString.c_str());
CHECK(cmpResult == 0);
outputBuffer.deleteData(12, true);
// Test more complex command
result = cmdExecutor.load("ping -c 1 localhost", false, false);