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