mirror of https://github.com/wolfSSL/wolfssh.git
adjustement to sftp test and fix typo
parent
a6a1297c93
commit
d0a7e69487
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue