From bcbc7469e4814609ad19b69cc304e2f7ce3dc8da Mon Sep 17 00:00:00 2001 From: hu-weihua Date: Fri, 29 Apr 2016 03:04:41 -0400 Subject: [PATCH] fix 998 Ubuntu14.04.4 is dash now, so automation test cases should be updated --- xCAT-test/xcattest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-test/xcattest b/xCAT-test/xcattest index ae3803b91..d84c965f3 100755 --- a/xCAT-test/xcattest +++ b/xCAT-test/xcattest @@ -882,7 +882,7 @@ sub runcmd my $rc = 0; $::RUNCMD_RC = 0; my $outref = []; - @$outref = `$cmd 2>&1`; + @$outref = `/bin/bash -lic '$cmd 2>&1'`; if ($?) { $rc = $? ;