tests: Make write file a public torture function.

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be>
This commit is contained in:
Andreas Schneider
2014-08-15 11:23:03 +02:00
parent 5fa4721c6e
commit 83aed7610c
3 changed files with 32 additions and 30 deletions

View File

@@ -68,6 +68,8 @@ ssh_session torture_ssh_session(const char *host,
struct torture_sftp *torture_sftp_session(ssh_session session);
void torture_sftp_close(struct torture_sftp *t);
void torture_write_file(const char *filename, const char *data);
/*
* This function must be defined in every unit test file.
*/