]> git.proxmox.com Git - mirror_zfs.git/blame - scripts/common.sh.in
FreeBSD: Add zfs_link_create() error handling
[mirror_zfs.git] / scripts / common.sh.in
CommitLineData
c8f9061f
BB
1#!/bin/sh
2
3# Directories
4export BIN_DIR=
5export SBIN_DIR=
52c85375 6export LIBEXEC_DIR=
c8f9061f
BB
7export ZTS_DIR=
8export SCRIPT_DIR=
9
10# General commands
a5087965
DS
11export ZDB="${ZDB:-$SBIN_DIR/zdb}"
12export ZFS="${ZFS:-$SBIN_DIR/zfs}"
13export ZPOOL="${ZPOOL:-$SBIN_DIR/zpool}"
14export ZTEST="${ZTEST:-$SBIN_DIR/ztest}"
15export ZFS_SH="${ZFS_SH:-$SCRIPT_DIR/zfs.sh}"
c8f9061f
BB
16
17# Test Suite
a5087965
DS
18export RUNFILE_DIR="${RUNFILE_DIR:-$ZTS_DIR/runfiles}"
19export TEST_RUNNER="${TEST_RUNNER:-$ZTS_DIR/test-runner/bin/test-runner.py}"
20export ZTS_REPORT="${ZTS_REPORT:-$ZTS_DIR/test-runner/bin/zts-report.py}"
21export STF_TOOLS="${STF_TOOLS:-$ZTS_DIR/test-runner}"
22export STF_SUITE="${STF_SUITE:-$ZTS_DIR/zfs-tests}"