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