0
0
mirror of https://github.com/zeux/pugixml.git synced 2024-12-28 22:53:37 +08:00
pugixml/tests/autotest-solaris.sh
arseny.kapoulkine 947026e6d7 tests: Added Solaris autotest
git-svn-id: http://pugixml.googlecode.com/svn/trunk@454 99668b35-9821-0410-8761-19e4c4f06640
2010-05-25 22:19:57 +00:00

11 lines
368 B
Bash

#!/bin/sh
# put this to /etc/init.d/pugixml-autotest.sh, then launch
# ln -s /etc/init.d/pugixml-autotest.sh /etc/rc3.d/S80pugixml-autotest
# don't forget to chmod +x pugixml-autotest.sh and to replace /export/home/USERNAME with actual path
if [ "$1" = "start" ]
then
cd /export/home/USERNAME/pugixml
perl tests/autotest-remote-host.pl "shutdown -g 0 -i 5 -y" &
fi