]> git.proxmox.com Git - mirror_zfs.git/blame - scripts/common.sh.in
Linux 5.0 compat: ASM_BUG macro
[mirror_zfs.git] / scripts / common.sh.in
CommitLineData
c8f9061f
BB
1#!/bin/sh
2
3# Directories
4export BIN_DIR=
5export SBIN_DIR=
6export ZTS_DIR=
7export SCRIPT_DIR=
8
9# General commands
10export ZDB=${ZDB:-$SBIN_DIR/zdb}
11export ZFS=${ZFS:-$SBIN_DIR/zfs}
12export ZPOOL=${ZPOOL:-$SBIN_DIR/zpool}
13export ZTEST=${ZTEST:-$SBIN_DIR/ztest}
14export ZFS_SH=${ZFS_SH:-$SCRIPT_DIR/zfs.sh}
15
16# Test Suite
17export RUNFILE_DIR=${RUNFILE_DIR:-$ZTS_DIR/runfiles}
18export TEST_RUNNER=${TEST_RUNNER:-$ZTS_DIR/test-runner/bin/test-runner.py}
e4a3297a 19export ZTS_REPORT=${ZTS_REPORT:-$ZTS_DIR/test-runner/bin/zts-report.py}
c8f9061f
BB
20export STF_TOOLS=${STF_TOOLS:-$ZTS_DIR/test-runner}
21export STF_SUITE=${STF_SUITE:-$ZTS_DIR/zfs-tests}