2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-07 05:15:34 +00:00

Merge pull request #1007 from hu-weihua/xcattest998

Fix 998[FVT] Ubuntu14.04.4 is dash now, so automation test cases should be updated
This commit is contained in:
Xiaopeng Wang
2016-04-29 16:10:15 +08:00

View File

@ -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 = $? ;