I need some tests for two new commands in the contrib/torque directory: qalter and qrerun. Each command has a help package (e.g. "qalter --help") that will describe the options to be tested.
(In reply to Moe Jette from comment #0) > I need some tests for two new commands in the contrib/torque directory: > qalter and qrerun. Each command has a help package (e.g. "qalter --help") > that will describe the options to be tested. For these tests do I have to build a torque system? If I do is there documentation or instructions on how to do it that you could point me to? Thanks
Did you want a seperate test for all the options or do you want just one test that will test all of them?
Individual tests for each command please. Start with test20.5
Created attachment 493 [details] Test for the qalter and qrerun options In test20.7 the qalter -o option test that changes the stdout path. when changing the path, it seems to only be set in the comment when doing a scontrol show job. I set this test to look at the comment value since the StdOut value is never changed. Not sure if this is standard behavior. If the test needs to be change please let me know.
I needed to add the descriptions to README, added a time limit to the jobs (fyi, the format is "qsub -l walltime=1:00 ..."), otherwise just some minor cosmetic changes.
One more thing, the commit is here: https://github.com/SchedMD/slurm/commit/b27f177ea0bda2d411307a9c94c5498f80cea56b
One more issue, the test id is always of the form "#.#" not "test#.#".