Skip to content

Commit f6e02b1

Browse files
anoopcs9spuiuk
authored andcommitted
containers/ltp: Remove tests dependent on loop devices
We have noticed failures in several recently added tests due to a missing loop device on the client (VM) machine. See below for an example: ``` run_ltp.sh: /opt/ltp/testcases/bin/chdir01 tst_buffers.c:57: TINFO: Test is using guarded buffers tst_tmpdir.c:316: TINFO: Using /testdir/LTP_chdQCZGxn as tmpdir (unknown filesystem) tst_device.c:97: TBROK: Could not stat loop device 0 Summary: passed 0 failed 0 broken 1 skipped 0 warnings 0 ``` For the time being, we remove those tests until we know the actual requirement for loop devices while running them. Signed-off-by: Anoop C S <[email protected]>
1 parent dd21ab4 commit f6e02b1

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

testcases/containers/images/ltp/run_ltp.sh

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@ TESTDIR="${1:-"/testdir"}"
66
declare -a LTP_TESTS=(
77
"aio01"
88
"aio02"
9-
"chdir01"
109
"chdir04"
1110
"close01"
1211
"close02"
13-
"close_range01"
1412
"close_range02"
1513
"creat01"
1614
"creat03"
@@ -26,9 +24,6 @@ declare -a LTP_TESTS=(
2624
"dup03"
2725
"dup04"
2826
"fallocate02"
29-
"fallocate04"
30-
"fallocate05"
31-
"fallocate06"
3227
"fchdir01"
3328
"fchdir02"
3429
"fchmod06"
@@ -42,20 +37,14 @@ declare -a LTP_TESTS=(
4237
"fcntl05"
4338
"fdatasync01"
4439
"fdatasync02"
45-
"fgetxattr01"
4640
"fgetxattr03"
4741
"flock01"
4842
"flock03"
4943
"flock04"
5044
"flock06"
51-
"fremovexattr01"
52-
"fremovexattr02"
53-
"fsetxattr01"
5445
"fstat03"
5546
"fstatat01"
56-
"fstatfs01"
5747
"fstatfs02"
58-
"fsync01"
5948
"fsync02"
6049
"ftest01"
6150
"ftest02"
@@ -69,8 +58,6 @@ declare -a LTP_TESTS=(
6958
"ftruncate03"
7059
"getcwd01"
7160
"getcwd02"
72-
"getdents01"
73-
"getdents02"
7461
"inode01"
7562
"inode02"
7663
"lftest"
@@ -79,11 +66,9 @@ declare -a LTP_TESTS=(
7966
"llseek01"
8067
"llseek02"
8168
"llseek03"
82-
"lremovexattr01"
8369
"lseek01"
8470
"lseek07"
8571
"mkdir04"
86-
"mkdir09"
8772
"mmap01"
8873
"mmap02"
8974
"mmap03"
@@ -105,10 +90,7 @@ declare -a LTP_TESTS=(
10590
"open09"
10691
"open13"
10792
"openat01"
108-
"openat02"
10993
"openfile"
110-
"open_tree01"
111-
"open_tree02"
11294
"pread01"
11395
"pread02"
11496
"preadv01"
@@ -123,31 +105,16 @@ declare -a LTP_TESTS=(
123105
"read02"
124106
"read04"
125107
"readahead01"
126-
"readdir01"
127108
"readv01"
128109
"readv02"
129110
"realpath01"
130111
"removexattr01"
131112
"removexattr02"
132-
"rename01"
133-
"rename03"
134-
"rename04"
135-
"rename05"
136-
"rename06"
137-
"rename07"
138-
"rename08"
139-
"rename10"
140-
"rename12"
141-
"rename13"
142113
"rename14"
143114
"rmdir01"
144115
"rmdir03"
145-
"setxattr01"
146116
"stat02"
147-
"statfs01"
148117
"statx03"
149-
"statx04"
150-
"statx08"
151118
"truncate02"
152119
"unlink07"
153120
"unlinkat01"

0 commit comments

Comments
 (0)