mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 03:19:35 +03:00
48c028f5a5
According to the FHS. Testing scripts and examples which are all architecture independent should be installed in a subdirectory under /usr/share. http://www.pathname.com/fhs/2.2/fhs-4.11.html Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
SUBDIRS = zpool-config zpios-test zpios-profile
|
|
|
|
dist_pkgdata_SCRIPTS = \
|
|
$(top_builddir)/scripts/common.sh \
|
|
$(top_srcdir)/scripts/zconfig.sh \
|
|
$(top_srcdir)/scripts/zfault.sh \
|
|
$(top_srcdir)/scripts/zfs.sh \
|
|
$(top_srcdir)/scripts/zpool-create.sh \
|
|
$(top_srcdir)/scripts/zpios.sh \
|
|
$(top_srcdir)/scripts/zpios-sanity.sh \
|
|
$(top_srcdir)/scripts/zpios-survey.sh \
|
|
$(top_srcdir)/scripts/smb.sh
|
|
|
|
ZFS=$(top_builddir)/scripts/zfs.sh
|
|
ZCONFIG=$(top_builddir)/scripts/zconfig.sh
|
|
ZFAULT=$(top_builddir)/scripts/zfault.sh
|
|
ZTEST=$(top_builddir)/cmd/ztest/ztest
|
|
ZPIOS_SANITY=$(top_builddir)/scripts/zpios-sanity.sh
|
|
|
|
check:
|
|
@$(ZFS) -u
|
|
@echo
|
|
@echo -n "===================================="
|
|
@echo -n " ZTEST "
|
|
@echo "===================================="
|
|
@echo
|
|
@$(ZFS)
|
|
@$(ZTEST) -V
|
|
@$(ZFS) -u
|
|
@echo
|
|
@echo
|
|
@echo -n "==================================="
|
|
@echo -n " ZCONFIG "
|
|
@echo "==================================="
|
|
@echo
|
|
@$(ZCONFIG) -c
|
|
@echo
|
|
@echo -n "==================================="
|
|
@echo -n " ZFAULT "
|
|
@echo "==================================="
|
|
@echo
|
|
@$(ZFAULT) -c
|
|
@echo
|
|
@echo -n "===================================="
|
|
@echo -n " ZPIOS "
|
|
@echo "===================================="
|
|
@echo
|
|
@$(ZFS)
|
|
@$(ZPIOS_SANITY)
|
|
@$(ZFS) -u
|
|
@echo
|