Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
51821879
Commit
51821879
authored
18 years ago
by
Christopher J. Morrone
Browse files
Options
Downloads
Patches
Plain Diff
Update two more tests to match the new option names.
parent
b346df7b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testsuite/expect/test18.12
+2
-2
2 additions, 2 deletions
testsuite/expect/test18.12
testsuite/expect/test18.20
+1
-1
1 addition, 1 deletion
testsuite/expect/test18.20
with
3 additions
and
3 deletions
testsuite/expect/test18.12
+
2
−
2
View file @
51821879
#!/usr/bin/expect
############################################################################
# Purpose: Test of SLURM functionality
# Test slaunch stdin routing to specific task (--
local
-input option
# Test slaunch stdin routing to specific task (--
slaunch
-input option
# with numeric argument).
#
# Output: "TEST: #.#" followed by "SUCCESS" if test was successful, OR
...
...
@@ -44,7 +44,7 @@ print_header $test_id
# Spawn a shell via slaunch
#
set timeout $max_job_delay
spawn $salloc -v -N1 -t1 $slaunch -n10 --overcommit --wait=2 --
local-input
=3 $bin_bash
spawn $salloc -v -N1 -t1 $slaunch -n10 --overcommit --wait=2 --
slaunch-input-filter
=3 $bin_bash
expect {
-re "Granted job allocation ($number)" {
set job_id $expect_out(1,string)
...
...
This diff is collapsed.
Click to expand it.
testsuite/expect/test18.20
+
1
−
1
View file @
51821879
...
...
@@ -56,7 +56,7 @@ proc run_cat_backpressure { input_file output_file } {
set iter 0
set output [open $output_file w]
set slaunch_output [open "| $salloc -N1 -t2 $slaunch --
remote
-error=$file_err $bin_cat $input_file" r]
set slaunch_output [open "| $salloc -N1 -t2 $slaunch --
task
-error=$file_err $bin_cat $input_file" r]
while {![eof $slaunch_output]} {
puts -nonewline $output [read $slaunch_output 1]
incr iter
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment