Bugzilla – Attachment 330994 Details for
Bug 559534
Installing lighttpd patch crashes webyast
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
lighty-webyast-init-test
lighty-webyast-init-test (text/plain), 1.26 KB, created by
Martin Vidner
on 2009-12-04 08:20:43 UTC
(
hide
)
Description:
lighty-webyast-init-test
Filename:
MIME Type:
Creator:
Martin Vidner
Created:
2009-12-04 08:20:43 UTC
Size:
1.26 KB
patch
obsolete
>#! /bin/sh ># testing the fixes for https://bugzilla.novell.com/show_bug.cgi?id=559534 > >LIGHTY=/etc/init.d/lighttpd >WYS=/etc/init.d/yastws >WYC=/etc/init.d/yastwc > >any_lighty_running() { > pgrep -fl lighttpd >} > >generic_lighty_running() { > pgrep -fl /etc/lighttpd/lighttpd.conf >} > >wys_running() { > pgrep -fl /etc/yastws/lighttpd.conf >} > >wyc_running() { > pgrep -fl /srv/www/yast/config/lighttpd.conf >} > >describe() { > echo "$@" >} > ># usage: "assert command args" ># "command args" will be eval'd and must return zero >assert() { > if eval "$@"; then > return > fi > echo "ASSERTION FAILED, exit code $? for <<$@>>" >} > >assert_just_webyast() { > assert wys_running > assert wyc_running > assert ! generic_lighty_running > > assert $WYS status > assert $WYC status > assert ! $LIGHTY status >} > >assert_full() { > assert wys_running > assert wyc_running > assert generic_lighty_running > > assert $WYS status > assert $WYC status > assert $LIGHTY status >} > >### MAIN ### > >assert_just_webyast > >describe "update of lighty shouldn't kill WY, bnc#559534" >$LIGHTY try-restart >assert_just_webyast > >$LIGHTY start >assert_full > >describe "update of lighty shouldn't kill WY, bnc#559534, in case lighty was running" >$LIGHTY try-restart >assert_full > >$LIGHTY stop >assert_just_webyast > ># $WYS stop
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
Attachments on
bug 559534
:
330735
|
330736
|
330771
|
330994
|
331020
|
331050
|
331340