File: zfs-test-suite-1

package info (click to toggle)
zfs-linux 2.3.4~git20250812.3b64a96-1
  • links: PTS, VCS
  • area: contrib
  • in suites: experimental
  • size: 70,688 kB
  • sloc: ansic: 393,668; sh: 68,068; asm: 47,734; python: 8,160; makefile: 5,125; perl: 859; sed: 41
file content (84 lines) | stat: -rwxr-xr-x 1,295 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#!/bin/bash

set -e

# extracted from https://github.com/openzfs/zfs/blob/master/.github/workflows/scripts/setup-functional.sh (part1)
tests=(
  zdb
  zfs
  zfs_bookmark
  zfs_change-key
  zfs_clone
  zfs_copies
  zfs_create
  zfs_destroy
  zfs_diff
  zfs_get
  zfs_ids_to_path
  zfs_inherit
  zfs_jail
  zfs_load-key
  zfs_mount
  zfs_program
  zfs_promote
  zfs_property
  zfs_receive
  zfs_rename
  zfs_reservation
  zfs_rollback
  zfs_send
  zfs_set
  zfs_share
  zfs_snapshot
  zfs_sysfs
  zfs_unload-key
  zfs_unmount
  zfs_unshare
  zfs_upgrade
  zfs_wait
  zhack
  zpool
  zpool_add
  zpool_attach
  zpool_clear
  zpool_create
  zpool_destroy
  zpool_detach
  zpool_events
  zpool_expand
  zpool_export
  zpool_get
  zpool_history
  zpool_import
  zpool_initialize
  zpool_labelclear
  zpool_offline
  zpool_online
  zpool_remove
  zpool_reopen
  zpool_replace
  zpool_resilver
  zpool_scrub
  zpool_set
  zpool_split
  zpool_status
  zpool_sync
  zpool_trim
  zpool_upgrade
  zpool_wait
)

skip_list_flaky=(
  zfs_destroy
  zpool_initialize
  zpool_trim
)

echo "$0: Skipping the following flaky tests...: ${skip_list[*]}"
for skip in "${skip_list_flaky[@]}"; do
    tests=("${tests[@]/$skip}")
done

test_list="$(IFS=,; echo "${tests[*]}")"

./debian/tests/zfs-test-suite "$test_list"