mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-31 00:03:07 +03:00
unittests:make sftp_dir pass on my laptop
(cherry picked from commit 7363b29427
)
This commit is contained in:
committed by
Andreas Schneider
parent
d127d68b9f
commit
43a3becf08
@ -248,6 +248,8 @@ struct torture_sftp *torture_sftp_session(ssh_session session) {
|
||||
if (p == NULL) {
|
||||
goto failed;
|
||||
}
|
||||
/* useful if TESTUSER is not the local user */
|
||||
chmod(template,0777);
|
||||
t->testdir = strdup(p);
|
||||
if (t->testdir == NULL) {
|
||||
goto failed;
|
||||
|
Reference in New Issue
Block a user