2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-19 04:40:21 +00:00

fix 998 Ubuntu14.04.4 is dash now, so automation test cases should be updated

This commit is contained in:
hu-weihua
2016-04-29 03:04:41 -04:00
parent ae5ce53415
commit bcbc7469e4

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