0
0
mirror of https://github.com/zeux/pugixml.git synced 2024-12-28 06:10:55 +08:00
pugixml/tests/autotest-linux.sh
arseny.kapoulkine 1d6db79bd9 tests: Updated autotest-linux.sh for Fedora
git-svn-id: http://pugixml.googlecode.com/svn/trunk@816 99668b35-9821-0410-8761-19e4c4f06640
2011-07-27 07:40:38 +00:00

15 lines
515 B
Bash

#!/bin/sh
# chkconfig: 2345 20 80
# description: pugixml autotest script
# put this to /etc/init.d/pugixml-autotest.sh, then launch
# Debian/Ubuntu: sudo update-rc.d pugixml-autotest.sh defaults 80
# Fedora/RedHat: sudo chkconfig --add pugixml-autotest.sh
# don't forget to chmod +x pugixml-autotest.sh and to replace /home/USERNAME with actual path
if [ "$1" = "start" ]
then
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin
cd /home/USERNAME/pugixml
perl tests/autotest-remote-host.pl "shutdown -P now" &
fi