From e2e8463d645da7da5db1b6a09472dab59c3cf269 Mon Sep 17 00:00:00 2001 From: huweihua Date: Thu, 25 Sep 2014 22:48:53 -0400 Subject: [PATCH] add test for update delta changes --- xCAT-test/autotest/testcase/sysclone/cases0 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/xCAT-test/autotest/testcase/sysclone/cases0 b/xCAT-test/autotest/testcase/sysclone/cases0 index f09bf7b0b..53cabf3eb 100644 --- a/xCAT-test/autotest/testcase/sysclone/cases0 +++ b/xCAT-test/autotest/testcase/sysclone/cases0 @@ -98,6 +98,19 @@ check:output=~test.file cmd:xdsh $$TARGET_NODE "hostname" check:output=~$$TARGET_NODE: $$TARGET_NODE +cmd:xdsh $$GOLDEN_CLIENT "cd / && date > update.flag" +check:rc==0 +cmd:imgcapture $$GOLDEN_CLIENT -t sysclone -o goldenclient-osimage-$$GOS-$$MODE -V +check:rc==0 +cmd:updatenode $$TARGET_NODE -S +check:rc==0 + +cmd:xdsh $$TARGET_NODE "ls -l / |grep update.flag" +check:rc==0 +check:output=~update.flag + +cmd:xdsh $$TARGET_NODE "rm -f /update.flag" +check:rc==0 end