diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2011-08-24 22:31:26 +0300 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2011-09-02 11:41:04 +0300 |
commit | 7363b29427023bb2bbcec0bb1783e869015ff664 (patch) | |
tree | c840cc4722e91ee9ffd2c0809cf3f1d82a6f1e76 /tests/torture.c | |
parent | 99e6fde751365f0f3508ce9e1899d28ca4c3edb3 (diff) | |
download | libssh-7363b29427023bb2bbcec0bb1783e869015ff664.tar.gz libssh-7363b29427023bb2bbcec0bb1783e869015ff664.tar.xz libssh-7363b29427023bb2bbcec0bb1783e869015ff664.zip |
unittests:make sftp_dir pass on my laptop
Diffstat (limited to 'tests/torture.c')
-rw-r--r-- | tests/torture.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/torture.c b/tests/torture.c index 126a53e3..a0a3812f 100644 --- a/tests/torture.c +++ b/tests/torture.c @@ -250,6 +250,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; |