~ubuntu-branches/ubuntu/vivid/slurm-llnl/vivid

« back to all changes in this revision

Viewing changes to testsuite/expect/test1.92

  • Committer: Bazaar Package Importer
  • Author(s): Gennaro Oliva
  • Date: 2009-09-24 23:28:15 UTC
  • mfrom: (1.1.11 upstream) (3.2.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090924232815-enh65jn32q1ebg07
Tags: 2.0.5-1
* New upstream release 
* Changed dependecy from lib-mysqlclient15 to lib-mysqlclient 
* Added Default-Start for runlevel 2 and 4 and $remote_fs requirement in
  init.d scripts (Closes: #541252)
* Postinst checks for wrong runlevels 2 and 4 links
* Upgraded to standard version 3.8.3
* Add lintian overrides for missing slurm-llnl-configurator.html in doc
  base registration
* modified postrm scripts to ignore pkill return value in order to avoid
  postrm failure when no slurm process is running
* Checking for slurmctld.pid before cancelling running and pending
  jobs during package removal 

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
# Copyright (C) 2008 Lawrence Livermore National Security.
13
13
# Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
14
14
# Written by Morris Jette <jette1@llnl.gov>
15
 
# LLNL-CODE-402394.
 
15
# CODE-OCEC-09-009. All rights reserved.
16
16
17
17
# This file is part of SLURM, a resource management program.
18
 
# For details, see <http://www.llnl.gov/linux/slurm/>.
 
18
# For details, see <https://computing.llnl.gov/linux/slurm/>.
 
19
# Please also read the included file: DISCLAIMER.
19
20
#  
20
21
# SLURM is free software; you can redistribute it and/or modify it under
21
22
# the terms of the GNU General Public License as published by the Free
36
37
set test_id     "1.92"
37
38
set exit_code   0
38
39
set file_bash   "test$test_id.bash"
 
40
set job_id      0
39
41
 
40
42
print_header $test_id
41
43
 
52
54
#
53
55
# Create an allocation
54
56
#
 
57
set timeout $max_job_delay
55
58
set salloc_pid [spawn $salloc -N2 -n4 --verbose -t2 $bin_bash]
56
59
expect {
 
60
        -re "salloc: Granted job allocation ($number)" {
 
61
                set job_id $expect_out(1,string)
 
62
                exp_continue
 
63
        }
57
64
        -re "More processors requested than permitted" {
58
65
                send_user "\nWARNING: can't test srun task distribution\n"
59
66
                exit 0
71
78
                exit 1
72
79
        }
73
80
}
 
81
if {$job_id == 0} {
 
82
        send_user "\nFAILURE: salloc failure\n"
 
83
        exit 1
 
84
}
74
85
 
75
86
#############################################################################
76
87
#