Skip to content
Snippets Groups Projects
Commit 51821879 authored by Christopher J. Morrone's avatar Christopher J. Morrone
Browse files

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
#!/usr/bin/expect #!/usr/bin/expect
############################################################################ ############################################################################
# Purpose: Test of SLURM functionality # 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). # with numeric argument).
# #
# Output: "TEST: #.#" followed by "SUCCESS" if test was successful, OR # Output: "TEST: #.#" followed by "SUCCESS" if test was successful, OR
...@@ -44,7 +44,7 @@ print_header $test_id ...@@ -44,7 +44,7 @@ print_header $test_id
# Spawn a shell via slaunch # Spawn a shell via slaunch
# #
set timeout $max_job_delay 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 { expect {
-re "Granted job allocation ($number)" { -re "Granted job allocation ($number)" {
set job_id $expect_out(1,string) set job_id $expect_out(1,string)
......
...@@ -56,7 +56,7 @@ proc run_cat_backpressure { input_file output_file } { ...@@ -56,7 +56,7 @@ proc run_cat_backpressure { input_file output_file } {
set iter 0 set iter 0
set output [open $output_file w] 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]} { while {![eof $slaunch_output]} {
puts -nonewline $output [read $slaunch_output 1] puts -nonewline $output [read $slaunch_output 1]
incr iter incr iter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment