diff --git a/tests/sftp.c b/tests/sftp.c index eb3ab8cf..86e240cd 100644 --- a/tests/sftp.c +++ b/tests/sftp.c @@ -63,10 +63,7 @@ static int Expected(int command) } case 6: - { - char expt[] = ".\n..\nconfigure\nwolfSSH sftp> "; - return WMEMCMP(expt, inBuf, sizeof(expt)); - } + return (WSTRNSTR(inBuf, "configure", sizeof(inBuf)) == NULL); case 10: return (WSTRNSTR(inBuf, "test-get", sizeof(inBuf)) == NULL); diff --git a/tests/testsuite.c b/tests/testsuite.c index bc289814..532e42d3 100644 --- a/tests/testsuite.c +++ b/tests/testsuite.c @@ -143,9 +143,9 @@ int TestsuiteTest(int argc, char** argv) FreeTcpReady(&ready); #ifdef WOLFSSH_SFTP - printf("testing STP blocking\n"); + printf("testing SFTP blocking\n"); test_SFTP(0); - printf("testing STP non blocking\n"); + printf("testing SFTP non blocking\n"); test_SFTP(1); #endif