mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-20 02:00:24 +00:00
Debug command output14
This commit is contained in:
@@ -344,6 +344,8 @@ sub install_xcat{
|
||||
print "\n------Config xcat and verify xcat is working correctly-----\n";
|
||||
@cmds = ("sudo -s /opt/xcat/share/xcat/scripts/setup-local-client.sh -f githubaction",
|
||||
"sudo -s /opt/xcat/sbin/chtab priority=1.1 policy.name=githubaction policy.rule=allow",
|
||||
"sed -i '1i set -x' /etc/profile.d/xcat.sh ",
|
||||
"cat /etc/profile.d/xcat.sh ",
|
||||
"/etc/profile.d/xcat.sh ",
|
||||
"sudo /opt/xcat/sbin/tabdump policy",
|
||||
"sudo /opt/xcat/sbin/tabdump site",
|
||||
@@ -477,7 +479,7 @@ sub run_fast_regression_test{
|
||||
@output = runcmd("cat $conf_file");
|
||||
print Dumper \@output;
|
||||
|
||||
$cmd = "sudo /opt/xcat/bin/xcattest -s \"ci_test\" -l | grep chdef_t";
|
||||
$cmd = "sudo /opt/xcat/bin/xcattest -s \"ci_test\" -l";
|
||||
my @caseslist = runcmd("$cmd");
|
||||
if($::RUNCMD_RC){
|
||||
print RED "[run_fast_regression_test] $cmd ....[Failed]\n";
|
||||
|
@@ -1609,8 +1609,8 @@ sub setup_env_by_configure_file {
|
||||
my @output2 = &runcmd("sudo lsdef -t site clustersite -i domain -c");
|
||||
print "MG_LSDEF:\n " . Dumper \@output2;
|
||||
print "MG Running verification tabdump";
|
||||
my @output2 = &runcmd("sudo tabdump site");
|
||||
print "MG_LSDEF:\n " . Dumper \@output2;
|
||||
my @output3 = &runcmd("sudo tabdump site");
|
||||
print "MG_LSDEF:\n " . Dumper \@output3;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user