summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/autotest-solaris.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/autotest-solaris.sh b/tests/autotest-solaris.sh
new file mode 100644
index 0000000..96111a7
--- /dev/null
+++ b/tests/autotest-solaris.sh
@@ -0,0 +1,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