blob: 5ebaa415259572487411ff8a9a1611bd53d875b8 [file] [log] [blame]
!
! @@@ START COPYRIGHT @@@
!
! Licensed to the Apache Software Foundation (ASF) under one
! or more contributor license agreements. See the NOTICE file
! distributed with this work for additional information
! regarding copyright ownership. The ASF licenses this file
! to you under the Apache License, Version 2.0 (the
! "License"); you may not use this file except in compliance
! with the License. You may obtain a copy of the License at
!
! http://www.apache.org/licenses/LICENSE-2.0
!
! Unless required by applicable law or agreed to in writing,
! software distributed under the License is distributed on an
! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
! KIND, either express or implied. See the License for the
! specific language governing permissions and limitations
! under the License.
!
! @@@ END COPYRIGHT @@@
!
! Test SeaPilot ProXy w/ process death
!
exec {type spx,nowait,nid 2,out SPX02.lst}testspx
exec {type spx,nowait,name $SPX01, nid 1,out SPX01.lst}testspx
exec {type spx,nowait,nid 0,out SPX00.lst}testspx
delay 5
! 3 SPX processes should be started
ps {SPX}
! Start Test1 - Dead SPX process test
event {SPX} 1
delay 5
! 2 SPX processes should remain running
ps {SPX}
! Start Test3 - End test - all SPX processes exit
event {SPX} 10
delay 5
! All SPX processes should have exited
ps {SPX}
exit !