summaryrefslogtreecommitdiffstats
path: root/cmd/raidz_test/raidz_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/raidz_test/raidz_test.c')
-rw-r--r--cmd/raidz_test/raidz_test.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/cmd/raidz_test/raidz_test.c b/cmd/raidz_test/raidz_test.c
index 0019ae84a..4b6072992 100644
--- a/cmd/raidz_test/raidz_test.c
+++ b/cmd/raidz_test/raidz_test.c
@@ -32,6 +32,16 @@
#include <sys/vdev_raidz_impl.h>
#include <assert.h>
#include <stdio.h>
+
+#ifndef _ABD_READY_
+int
+main(int argc, char **argv)
+{
+ exit(0);
+}
+
+#else
+
#include "raidz_test.h"
static int *rand_data;
@@ -782,3 +792,4 @@ main(int argc, char **argv)
return (err);
}
+#endif