forked from pool/slurm
Egbert Eich
7d13a7ba97
- Package the Slurm testsuite for QA purposes. * Fixes for test suite: Keep-logs-of-skipped-test-when-running-test-cases-sequentially.patch Fix-test-21.41.patch Fix-test-38.11.patch Fix-test-32.8.patch Fix-test-3.13.patch Fix-test7.2-to-find-libpmix-under-lib64-as-well.patch * Add documentation: README_Testsuite.md - Allow log in as user 'slurm'. This allows admins to run certain priviledged commands more easily without becoming root. OBS-URL: https://build.opensuse.org/request/show/988732 OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=207
36 lines
1.0 KiB
Diff
36 lines
1.0 KiB
Diff
From: Egbert Eich <eich@suse.com>
|
|
Date: Wed Jun 15 08:40:50 2022 +0200
|
|
Subject: - Fix test 3.13
|
|
Patch-mainline: Not yet
|
|
Git-repo: https://github.com/SchedMD/slurm
|
|
Git-commit: cc82d21d77ccd4753ed56f80e14cfa13acd3643d
|
|
References:
|
|
|
|
Signed-off-by: Egbert Eich <eich@suse.com>
|
|
Signed-off-by: Egbert Eich <eich@suse.de>
|
|
---
|
|
testsuite/expect/test3.13 | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
diff --git a/testsuite/expect/test3.13 b/testsuite/expect/test3.13
|
|
index bcce201215..9781ffcff9 100755
|
|
--- a/testsuite/expect/test3.13
|
|
+++ b/testsuite/expect/test3.13
|
|
@@ -109,7 +109,7 @@ log_info "Test 1"
|
|
set no_jobs 0
|
|
spawn $scontrol update JobName=$script_name UserID=1 Priority=$new_prio
|
|
expect {
|
|
- -re "No jobs with" {
|
|
+ -re "Invalid UserID" {
|
|
set no_jobs 1
|
|
exp_continue
|
|
}
|
|
@@ -130,7 +130,7 @@ set no_jobs 0
|
|
set my_uid [get_my_uid]
|
|
spawn $scontrol update JobName=$script_name UserID=$my_uid Priority=$new_prio
|
|
expect {
|
|
- -re "No jobs with" {
|
|
+ -re "Invalid UserID" {
|
|
set no_jobs 1
|
|
exp_continue
|
|
}
|