]> git.proxmox.com Git - mirror_zfs.git/blob - TEST
Retire zconfig.sh
[mirror_zfs.git] / TEST
1 #!/bin/sh
2
3 ### prepare
4 #TEST_PREPARE_WATCHDOG="no"
5
6 ### SPLAT
7 #TEST_SPLAT_SKIP="yes"
8 #TEST_SPLAT_OPTIONS="-acvx"
9
10 ### ztest
11 #TEST_ZTEST_SKIP="yes"
12 #TEST_ZTEST_TIMEOUT=1800
13 #TEST_ZTEST_DIR="/var/tmp/"
14 #TEST_ZTEST_OPTIONS="-V"
15
16 ### zimport
17 #TEST_ZIMPORT_SKIP="yes"
18 #TEST_ZIMPORT_DIR="/var/tmp/zimport"
19 #TEST_ZIMPORT_VERSIONS="master installed"
20 #TEST_ZIMPORT_POOLS="zol-0.6.1 zol-0.6.2 master installed"
21 #TEST_ZIMPORT_OPTIONS="-c"
22
23 ### xfstests
24 #TEST_XFSTESTS_SKIP="yes"
25 #TEST_XFSTESTS_URL="https://github.com/behlendorf/xfstests/archive/"
26 #TEST_XFSTESTS_VER="zfs.tar.gz"
27 #TEST_XFSTESTS_POOL="tank"
28 #TEST_XFSTESTS_FS="xfstests"
29 #TEST_XFSTESTS_VDEV="/var/tmp/vdev"
30 #TEST_XFSTESTS_OPTIONS=""
31
32 ### zfs-tests.sh
33 #TEST_ZFSTESTS_SKIP="yes"
34 #TEST_ZFSTESTS_DISKS="vdb vdc vdd"
35 #TEST_ZFSTESTS_DISKSIZE="8G"
36 #TEST_ZFSTESTS_RUNFILE="linux.run"
37
38 ### filebench
39 #TEST_FILEBENCH_SKIP="yes"
40 #TEST_FILEBENCH_URL="http://build.zfsonlinux.org/"
41 #TEST_FILEBENCH_VER="filebench-1.4.9.1.tar.gz"
42 #TEST_FILEBENCH_RUNTIME=10
43 #TEST_FILEBENCH_POOL="tank"
44 #TEST_FILEBENCH_FS="filebench"
45 #TEST_FILEBENCH_VDEV="/var/tmp/vdev"
46 #TEST_FILEBENCH_DIR="/$TEST_FILEBENCH_POOL/$TEST_FILEBENCH_FS"
47 #TEST_FILEBENCH_OPTIONS=""
48
49 ### zfsstress
50 #TEST_ZFSSTRESS_SKIP="yes"
51 #TEST_ZFSSTRESS_URL="https://github.com/nedbass/zfsstress/archive/"
52 #TEST_ZFSSTRESS_VER="master.tar.gz"
53 #TEST_ZFSSTRESS_RUNTIME=300
54 #TEST_ZFSSTRESS_POOL="tank"
55 #TEST_ZFSSTRESS_FS="fish"
56 #TEST_ZFSSTRESS_VDEV="/var/tmp/vdev"
57 #TEST_ZFSSTRESS_DIR="/$TEST_ZFSSTRESS_POOL/$TEST_ZFSSTRESS_FS"
58 #TEST_ZFSSTRESS_OPTIONS=""
59
60 ### per-builder customization
61 #
62 # BB_NAME=builder-name <distribution-version-architecture-type>
63 # - distribution=Amazon,Debian,Fedora,RHEL,SUSE,Ubuntu
64 # - version=x.y
65 # - architecture=x86_64,i686,arm,aarch64
66 # - type=build,test
67 #
68 case "$BB_NAME" in
69 Amazon*)
70 # ZFS enabled xfstests fails to build
71 TEST_XFSTESTS_SKIP="yes"
72 ;;
73 CentOS-7*)
74 # ZFS enabled xfstests fails to build
75 TEST_XFSTESTS_SKIP="yes"
76 ;;
77 CentOS-6*)
78 ;;
79 Debian*)
80 ;;
81 Fedora*)
82 ;;
83 RHEL*)
84 ;;
85 SUSE*)
86 ;;
87 Ubuntu-16.04*)
88 # ZFS enabled xfstests fails to build
89 TEST_XFSTESTS_SKIP="yes"
90 TEST_FILEBENCH_SKIP="yes"
91 ;;
92 Ubuntu*)
93 ;;
94 *)
95 ;;
96 esac
97
98 ###
99 #
100 # Disable the following test suites on 32-bit systems.
101 #
102 if [ $(getconf LONG_BIT) = "32" ]; then
103 TEST_ZTEST_SKIP="yes"
104 TEST_FILEBENCH_SKIP="yes"
105 TEST_XFSTESTS_SKIP="yes"
106 TEST_ZFSSTRESS_SKIP="yes"
107 fi