summaryrefslogtreecommitdiffstats
path: root/generator
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-11-03 17:26:00 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-11-03 17:28:02 +0000
commit2a33d81e2b7fa2affaaad48538307c818b4a8260 (patch)
tree4509d557790aa20ac5b8fc091ddcfc072da89383 /generator
parent8ccc6cd1f798f960e520ea8de24eb1f6a1313d3a (diff)
downloadlibguestfs-2a33d81e2b7fa2affaaad48538307c818b4a8260.tar.gz
libguestfs-2a33d81e2b7fa2affaaad48538307c818b4a8260.tar.xz
libguestfs-2a33d81e2b7fa2affaaad48538307c818b4a8260.zip
capitests: Set path in TESTS_ENVIRONMENT instead of in tests.c
By exporting LIBGUESTFS_PATH with the right path to the appliance, we no longer need to hard code the path in tests.c
Diffstat (limited to 'generator')
-rw-r--r--generator/generator_capitests.ml2
1 files changed, 0 insertions, 2 deletions
diff --git a/generator/generator_capitests.ml b/generator/generator_capitests.ml
index b41e2889..707d59b7 100644
--- a/generator/generator_capitests.ml
+++ b/generator/generator_capitests.ml
@@ -175,8 +175,6 @@ int main (int argc, char *argv[])
guestfs_set_error_handler (g, print_error, NULL);
- guestfs_set_path (g, \"../appliance\");
-
filename = \"test1.img\";
fd = open (filename, O_WRONLY|O_CREAT|O_NOCTTY|O_NONBLOCK|O_TRUNC, 0666);
if (fd == -1) {