adjustement to sftp test and fix typo

pull/134/head
Jacob Barthelmeh 2019-02-07 12:12:30 -07:00
parent a6a1297c93
commit d0a7e69487
2 changed files with 3 additions and 6 deletions

View File

@ -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);

View File

@ -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