]> git.proxmox.com Git - mirror_zfs.git/blob - TEST
Retire filebench testing
[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 ### zfsstress
39 #TEST_ZFSSTRESS_SKIP="yes"
40 #TEST_ZFSSTRESS_URL="https://github.com/nedbass/zfsstress/archive/"
41 #TEST_ZFSSTRESS_VER="master.tar.gz"
42 #TEST_ZFSSTRESS_RUNTIME=300
43 #TEST_ZFSSTRESS_POOL="tank"
44 #TEST_ZFSSTRESS_FS="fish"
45 #TEST_ZFSSTRESS_VDEV="/var/tmp/vdev"
46 #TEST_ZFSSTRESS_DIR="/$TEST_ZFSSTRESS_POOL/$TEST_ZFSSTRESS_FS"
47 #TEST_ZFSSTRESS_OPTIONS=""
48
49 ### per-builder customization
50 #
51 # BB_NAME=builder-name <distribution-version-architecture-type>
52 # - distribution=Amazon,Debian,Fedora,RHEL,SUSE,Ubuntu
53 # - version=x.y
54 # - architecture=x86_64,i686,arm,aarch64
55 # - type=build,test
56 #
57 case "$BB_NAME" in
58 Amazon*)
59 # ZFS enabled xfstests fails to build
60 TEST_XFSTESTS_SKIP="yes"
61 ;;
62 CentOS-7*)
63 # ZFS enabled xfstests fails to build
64 TEST_XFSTESTS_SKIP="yes"
65 ;;
66 CentOS-6*)
67 ;;
68 Debian*)
69 ;;
70 Fedora*)
71 ;;
72 RHEL*)
73 ;;
74 SUSE*)
75 ;;
76 Ubuntu-16.04*)
77 # ZFS enabled xfstests fails to build
78 TEST_XFSTESTS_SKIP="yes"
79 ;;
80 Ubuntu*)
81 ;;
82 *)
83 ;;
84 esac
85
86 ###
87 #
88 # Disable the following test suites on 32-bit systems.
89 #
90 if [ $(getconf LONG_BIT) = "32" ]; then
91 TEST_ZTEST_SKIP="yes"
92 TEST_XFSTESTS_SKIP="yes"
93 TEST_ZFSSTRESS_SKIP="yes"
94 fi