~ubuntu-branches/ubuntu/precise/slurm-llnl/precise

« back to all changes in this revision

Viewing changes to testsuite/expect/test4.12

  • Committer: Bazaar Package Importer
  • Author(s): Gennaro Oliva
  • Date: 2011-04-08 11:21:17 UTC
  • mfrom: (3.3.16 sid)
  • Revision ID: james.westby@ubuntu.com-20110408112117-nfnyq9dtm55hqoaw
Tags: 2.2.4-1
* New upstream releases 
* Cleaning spare file and directories, not belonging to the sources
  generated by the building process and not removed by distclean.
  Added debian/clean with spare files and rm -rf inside debian/rules
  for directories.
* Added new packages libslurm-perl, libslurmdb-perl, slurm-llnl-torque
  (Closes: #575822) thanks to Julien Blache

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
                        if {$proc_cnt != $num_alloc} {
62
62
                                send_user "\nFAILURE: requested $proc_cnt but got $num_alloc instead\n"
63
63
                                set rc 1
64
 
                        } else {
65
 
                                send_user "SUCCESS\n"
66
64
                        }
67
65
                        exp_continue
68
66
                }
129
127
                        } elseif { $num_total != $total_procs } {
130
128
                                send_user "\nFAILURE: sinfo 1 total cpus wrong, got $num_total but needed $total_procs\n"
131
129
                                set rc 1
132
 
                        } else {
133
 
                                send_user "SUCCESS\n"
134
130
                        }
135
131
                        exp_continue
136
132
                }
436
432
 
437
433
set exit_code [allocate_and_quit $inode_name $smallest $inode_procs]
438
434
if {!$exit_code && $smallest != $inode_procs} {
439
 
                set exit_code [allocate_and_quit $inode_name $inode_procs $inode_procs]
 
435
        # just to make sure we get a clean state we will sleep a bit
 
436
        sleep 1
 
437
        set exit_code [allocate_and_quit $inode_name $inode_procs $inode_procs]
440
438
}
441
439
if {$exit_code == 0} {
442
440
        send_user "\nSUCCESS\n"