Skip to content

Commit

Permalink
add tests for slurm partition option (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
crbaird committed May 19, 2017
1 parent 00a27ad commit 472c271
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion tests/user-env/pdsh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ check_rms
assert_success
}


if [ x$RESOURCE_MANAGER eq "xslurm" ]
@test "[pdsh] check for pdsh-mod-slurm RPM" {
run check_if_rpm_installed "pdsh${DELIM}"
assert_success
}

@test "[pdsh] run a shell command on -P normal" {
run pdsh -P normal 'grep . /proc/sys/kernel/ostype'
assert_success
}
fi


0 comments on commit 472c271

Please sign in to comment.