mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-22 03:00:26 +00:00
Merge pull request #3795 from hu-weihua/snfix
Add missing dependency package for pre_deploy_sn used by SN setup test case
This commit is contained in:
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user