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