summaryrefslogtreecommitdiff
path: root/tests/autotest-solaris.sh
blob: 96111a77b4575b5a02c84e1160949c564749f0f4 (plain)
1
2
3
4
5
6
7
8
9
10
#!/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