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:
@ -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 = $? ;
|
||||
|
Reference in New Issue
Block a user