tests: Don't use <guestfs-internal.h> in tests.
authorRichard Jones <rjones@redhat.com>
Tue, 16 Mar 2010 21:11:23 +0000 (21:11 +0000)
committerRichard Jones <rjones@redhat.com>
Tue, 16 Mar 2010 21:13:06 +0000 (21:13 +0000)
It was failing when including this header, as a consequence
of earlier commit 1f56debfcfdc35d6b0.

capitests/test-command.c

index e5cdc93..c23b7d1 100644 (file)
@@ -26,8 +26,7 @@
 #include <string.h>
 #include <unistd.h>
 
-/* Get STREQ etc */
-#include "../src/guestfs-internal.h"
+#define STREQ(a,b) (strcmp((a),(b)) == 0)
 
 int
 main (int argc, char *argv[])