Skip to content

Commit dd8dffe

Browse files
metan-ucwacerv
authored andcommitted
syscalls: Update test timeouts
This change was genered by: - running syscalls via kirk on RPi zero and saving the json result - running 'cd scripts && calctimeouts.py -l /opt/ltp -r results.json -p' Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
1 parent 70cd326 commit dd8dffe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+65
-1
lines changed

testcases/kernel/syscalls/access/access01.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ static void setup(void)
314314
}
315315

316316
static struct tst_test test = {
317+
.timeout = 1,
317318
.needs_tmpdir = 1,
318319
.needs_root = 1,
319320
.forks_child = 1,

testcases/kernel/syscalls/add_key/add_key05.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ static void cleanup(void)
212212
}
213213

214214
static struct tst_test test = {
215+
.timeout = 2,
215216
.test = do_test,
216217
.tcnt = 2,
217218
.needs_root = 1,

testcases/kernel/syscalls/alarm/alarm05.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ static void setup(void)
4444
}
4545

4646
static struct tst_test test = {
47+
.timeout = 2,
4748
.test_all = run,
4849
.setup = setup,
4950
};

testcases/kernel/syscalls/alarm/alarm06.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ static void verify_alarm(void)
4141
}
4242

4343
static struct tst_test test = {
44+
.timeout = 4,
4445
.setup = setup,
4546
.test_all = verify_alarm,
4647
};

testcases/kernel/syscalls/alarm/alarm07.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ static void setup(void)
4747
}
4848

4949
static struct tst_test test = {
50+
.timeout = 4,
5051
.test_all = verify_alarm,
5152
.setup = setup,
5253
.forks_child = 1,

testcases/kernel/syscalls/bind/bind04.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ static void test_bind(unsigned int n)
161161
}
162162

163163
static struct tst_test test = {
164+
.timeout = 1,
164165
.test = test_bind,
165166
.tcnt = ARRAY_SIZE(testcase_list),
166167
.needs_tmpdir = 1,

testcases/kernel/syscalls/bpf/bpf_prog05.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ static void run(void)
190190
}
191191

192192
static struct tst_test test = {
193+
.timeout = 20,
193194
.setup = setup,
194195
.test_all = run,
195196
.taint_check = TST_TAINT_W | TST_TAINT_D,

testcases/kernel/syscalls/bpf/bpf_prog06.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ static void run(void)
131131
}
132132

133133
static struct tst_test test = {
134+
.timeout = 20,
134135
.setup = setup,
135136
.test_all = run,
136137
.min_kver = "5.8",

testcases/kernel/syscalls/bpf/bpf_prog07.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ static void run(void)
139139
}
140140

141141
static struct tst_test test = {
142+
.timeout = 20,
142143
.setup = setup,
143144
.test_all = run,
144145
.min_kver = "5.8",

testcases/kernel/syscalls/cachestat/cachestat01.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ static void cleanup(void)
8585
}
8686

8787
static struct tst_test test = {
88+
.timeout = 13,
8889
.test = run,
8990
.tcnt = 2,
9091
.setup = setup,

0 commit comments

Comments
 (0)