2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-18 01:00:23 +00:00

remove unsuitable test cases

This commit is contained in:
bxuxa
2018-11-20 20:12:42 +08:00
parent efc209ca5c
commit c2c5159128
3 changed files with 11 additions and 5 deletions

View File

@@ -488,7 +488,6 @@ sub run_fast_regression_test{
@output = runcmd("cat $conf_file");
print Dumper \@output;
# $cmd = "sudo bash -c '. /etc/profile.d/xcat.sh && xcattest -s \"mn_only-wait_fix\" -l'";
# my @caseslist = runcmd("$cmd");
# if($::RUNCMD_RC){
@@ -613,6 +612,13 @@ my @disk = runcmd("df -h");
print "Disk information:\n";
print Dumper \@disk;
runcmd("sudo ip link set docker0 up");
my @ipinfo = runcmd("ip addr");
print "Networking information:\n";
print Dumper \@ipinfo;
my @hostinfo = runcmd("cat /etc/hosts");
print Dumper \@hostinfo;
#Start to check the format of pull request
$last_func_start = timelocal(localtime());
print GREEN "\n------ Checking Pull Request Format ------\n";

View File

@@ -58,9 +58,9 @@ lsxcatd_a
lsxcatd_d
lsxcatd_h
lsxcatd_null
makeconservercf_d
makeconservercf_noderange
makeconservercf_null
#makeconservercf_d
#makeconservercf_noderange
#makeconservercf_null
#makedhcp_a_d_linux
#makedhcp_a_linux
#makedhcp_d_linux

View File

@@ -5,7 +5,7 @@ label:mn_only,ci_test,dhcp
cmd:if [ -f "/etc/dhcp/dhcpd.conf" ];then mv -f /etc/dhcp/dhcpd.conf /etc/dhcp/dhcpd.conf.bak ; elif [ -f "/etc/dhcpd.conf" ]; then mv -f /etc/dhcpd.conf /etc/dhcpd.conf.bak; fi
cmd:makedhcp -n
check:rc==0
cmd:ls /etc/dhcp/dhcpd.conf || ls /etc/dhcpd.conf
cmd:cat $(ls /etc/dhcp/dhcpd.conf || ls /etc/dhcpd.conf)
check:rc==0
cmd:sleep 20
cmd:ps -e | grep dhcpd