summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--capitests/tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/capitests/tests.c b/capitests/tests.c
index c0c35979..3b296425 100644
--- a/capitests/tests.c
+++ b/capitests/tests.c
@@ -5811,7 +5811,7 @@ static int test_download_0 (void)
char remotefilename[] = "/COPYING.LIB";
int r;
suppress_error = 0;
- r = guestfs_upload (g, "COPYING.LIB", remotefilename);
+ r = guestfs_upload (g, "../COPYING.LIB", remotefilename);
if (r == -1)
return -1;
}
@@ -5930,7 +5930,7 @@ static int test_upload_0 (void)
char remotefilename[] = "/COPYING.LIB";
int r;
suppress_error = 0;
- r = guestfs_upload (g, "COPYING.LIB", remotefilename);
+ r = guestfs_upload (g, "../COPYING.LIB", remotefilename);
if (r == -1)
return -1;
}