summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-03-18 14:19:04 -0700
committerBrian Behlendorf <[email protected]>2009-03-18 14:19:04 -0700
commit70407622a7306212db545b3b4db34f638d04a087 (patch)
tree9f3a9296213a2619c06961ea1c081990d4da5e88 /scripts
parentdf985d53db960c88f6b4ab0c77508c5d334e103c (diff)
Move `make check` ztest under ./scripts where the module stack is loaded.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.am25
1 files changed, 15 insertions, 10 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 5ded64075..5b60cd7bf 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -1,14 +1,19 @@
SUBDIRS = zpool-config
EXTRA_DIST = common.sh zfs-update.sh zfs.sh zpool-create.sh
+ZFS=${top_srcdir}/scripts/zfs.sh
+ZTEST=${top_builddir}/cmd/ztest/ztest
+ZPIOS=${top_srcdir}/scripts/zpios.sh
+
check:
- ./zfs.sh -v
- ./zpios.sh -c file-raid0 -t tiny
- ./zpios.sh -c file-raid10 -t tiny
- ./zpios.sh -c file-raidz -t tiny
- ./zpios.sh -c file-raidz2 -t tiny
- ./zpios.sh -c lo-raid0 -t tiny
- ./zpios.sh -c lo-raid10 -t tiny
- ./zpios.sh -c lo-raidz -t tiny
- ./zpios.sh -c lo-raidz2 -t tiny
- ./zfs.sh -vu
+ $(ZFS) -v
+ $(ZTEST) -V
+ $(ZPIOS) -c file-raid0 -t tiny
+ $(ZPIOS) -c file-raid10 -t tiny
+ $(ZPIOS) -c file-raidz -t tiny
+ $(ZPIOS) -c file-raidz2 -t tiny
+ $(ZPIOS) -c lo-raid0 -t tiny
+ $(ZPIOS) -c lo-raid10 -t tiny
+ $(ZPIOS) -c lo-raidz -t tiny
+ $(ZPIOS) -c lo-raidz2 -t tiny
+ $(ZFS) -vu