summaryrefslogtreecommitdiff
path: root/tests/autotest-solaris.sh
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-05-25 22:19:57 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-05-25 22:19:57 +0000
commit947026e6d7b17f8318371acd6a58647ddebc784c (patch)
tree73e75823bc8a86b8cf345e46f2d64ef8255a5b94 /tests/autotest-solaris.sh
parent77c9a23bfbf748c70b3ab33b06c5b188eaa3bd25 (diff)
tests: Added Solaris autotest
git-svn-id: http://pugixml.googlecode.com/svn/trunk@454 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/autotest-solaris.sh')
-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