mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 18:11:00 +03:00
a5087965fe
- Add new SC2312 global exclude. ``` Consider invoking this command separately to avoid masking its return value (or use '|| true' to ignore). [SC2312] ``` - Correct errors detected by new ShellCheck version. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: szubersk <szuberskidamian@gmail.com> Closes #14148
23 lines
657 B
Bash
23 lines
657 B
Bash
#!/bin/sh
|
|
|
|
# Directories
|
|
export BIN_DIR=
|
|
export SBIN_DIR=
|
|
export LIBEXEC_DIR=
|
|
export ZTS_DIR=
|
|
export SCRIPT_DIR=
|
|
|
|
# General commands
|
|
export ZDB="${ZDB:-$SBIN_DIR/zdb}"
|
|
export ZFS="${ZFS:-$SBIN_DIR/zfs}"
|
|
export ZPOOL="${ZPOOL:-$SBIN_DIR/zpool}"
|
|
export ZTEST="${ZTEST:-$SBIN_DIR/ztest}"
|
|
export ZFS_SH="${ZFS_SH:-$SCRIPT_DIR/zfs.sh}"
|
|
|
|
# Test Suite
|
|
export RUNFILE_DIR="${RUNFILE_DIR:-$ZTS_DIR/runfiles}"
|
|
export TEST_RUNNER="${TEST_RUNNER:-$ZTS_DIR/test-runner/bin/test-runner.py}"
|
|
export ZTS_REPORT="${ZTS_REPORT:-$ZTS_DIR/test-runner/bin/zts-report.py}"
|
|
export STF_TOOLS="${STF_TOOLS:-$ZTS_DIR/test-runner}"
|
|
export STF_SUITE="${STF_SUITE:-$ZTS_DIR/zfs-tests}"
|