2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 01:26:38 +00:00

Add missing dependency package for pre_deploy_sn used by SN setup test case

This commit is contained in:
hu-weihua 2017-08-28 21:55:09 -04:00
parent 21311cf450
commit f50604d718

View File

@ -1,4 +1,5 @@
#!/usr/bin/env perl
use Time::Local;
$ENV{TERM} = "xterm-256color";
@ -16,10 +17,10 @@ sub runcmd {
chomp(@output);
print "$_\n" foreach (@output);
if ($?) {
print ">>>To run $cmd ....[error]\n";
print ">>>Run $cmd ....[error]\n";
exit 1;
}else{
print ">>>To run: $cmd ....[ok]\n";
print ">>>Run: $cmd ....[ok]\n";
}
}