mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
a254ecfc8b
The ziltest.sh script is a test case designed to verify the correct functioning of the ZIL. It's being added to the scripts directory so it can be easily added to the automated regression testing. The general idea is to build up an intent log from a bunch of diverse user commands without actually committing them to the file system. Then copy the file system, replay the intent log and compare the file system and the copy. Ported-by: Don Brady <don.brady@intel.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #3531
58 lines
1.5 KiB
Makefile
58 lines
1.5 KiB
Makefile
SUBDIRS = zpool-config zpios-test zpios-profile
|
|
|
|
EXTRA_DIST = dkms.mkconf dkms.postbuild kmodtool zfs2zol-patch.sed cstyle.pl
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
dist_pkgdata_SCRIPTS = \
|
|
$(top_builddir)/scripts/common.sh \
|
|
$(top_srcdir)/scripts/zconfig.sh \
|
|
$(top_srcdir)/scripts/zfault.sh \
|
|
$(top_srcdir)/scripts/ziltest.sh \
|
|
$(top_srcdir)/scripts/zimport.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
|
|
ZIMPORT=$(top_builddir)/scripts/zimport.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
|