From 56228c180bcfde59c7778db9f75068aac6e7295a Mon Sep 17 00:00:00 2001 From: root Date: Mon, 24 Nov 2014 18:49:17 -0800 Subject: [PATCH] add autotest testcase --- .../ubuntu_full_installation_p8le | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 xCAT-test/autotest/testcase/installation/ubuntu_full_installation_p8le diff --git a/xCAT-test/autotest/testcase/installation/ubuntu_full_installation_p8le b/xCAT-test/autotest/testcase/installation/ubuntu_full_installation_p8le new file mode 100644 index 000000000..1cd867ea6 --- /dev/null +++ b/xCAT-test/autotest/testcase/installation/ubuntu_full_installation_p8le @@ -0,0 +1,40 @@ +start:Ubuntu_full_installation_flat_p8le_vm +os:Linux +cmd:makedns -n +check:rc==0 +cmd:makeconservercf $$CN +check:rc==0 +cmd:cat /etc/conserver.cf | grep $$CN +check:output=~$$CN +cmd:sleep 60 +cmd:makedhcp -n +check:rc==0 +cmd:makedhcp -a +check:rc==0 +cmd:copycds $$ISO +check:rc==0 +cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute +check:rc==0 +cmd:rpower $$CN reset +check:rc==0 +cmd:sleep 2000 +cmd:ping $$CN -c 3 +check:output=~64 bytes from $$CN +cmd:lsdef -l $$CN | grep status +check:output=~booted +cmd:xdsh $$CN date +check:rc==0 +check:output=~\d\d:\d\d:\d\d +cmd:nodeset $$CN osimage +check:rc==0 +cmd:rpower $$CN reset +check:rc==0 +cmd:sleep 2000 +cmd:ping $$CN -c 3 +check:output=~64 bytes from $$CN +cmd:lsdef -l $$CN | grep status +check:output=~booted +cmd:xdsh $$CN date +check:rc==0 +check:output=~\d\d:\d\d:\d\d +end