Skip to content
Snippets Groups Projects
Commit 986c0bab authored by Morris Jette's avatar Morris Jette
Browse files

Modify test so "n/a" in sinfo output OK

Previous logic would stop at "/".
parent 0367cb1e
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
# Validate that sinfo -O (--Format) option displays the # Validate that sinfo -O (--Format) option displays the
# correct user specified values. # correct user specified values.
# #
#
# Output: "TEST: #.#" followed by "SUCCESS" if test was successful, OR # Output: "TEST: #.#" followed by "SUCCESS" if test was successful, OR
# "FAILURE: ..." otherwise with an explanation of the failure, OR # "FAILURE: ..." otherwise with an explanation of the failure, OR
# anything else indicates a failure mode that must be investigated. # anything else indicates a failure mode that must be investigated.
...@@ -37,7 +36,7 @@ set test_id 4.13 ...@@ -37,7 +36,7 @@ set test_id 4.13
set test_acct "test$test_id\_acct" set test_acct "test$test_id\_acct"
set test_part "test$test_id\_part" set test_part "test$test_id\_part"
set test_node [get_idle_node_in_part [default_partition]] set test_node [get_idle_node_in_part [default_partition]]
set alpha_numeric_dot "\[a-zA-Z0-9_.:\-\]+" set alpha_numeric_dot "\[a-zA-Z0-9/_.:\-\]+"
set exit_code 0 set exit_code 0
array set node_sinfo_vals { } array set node_sinfo_vals { }
......
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