[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 1/4] TestSupport: Rename package_install_cmd to package_install_cmd\b/pkg_manager_install_cmd_line



  git-ls-files | xargs perl -i~ -pe 
's/\bpackage_install_cmd\b/pkg_manager_install_cmd_line/g'

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 Osstest/TestSupport.pm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index 135cda3..fff3c5b 100644
--- a/Osstest/TestSupport.pm
+++ b/Osstest/TestSupport.pm
@@ -525,7 +525,7 @@ sub target_putfile_root ($$$$;$) {
     tputfileex('root', @_);
 }
 
-sub package_install_cmd ($;$) {
+sub pkg_manager_install_cmd_line ($;$) {
     my ($ho, $norec) = @_;
     my @cmd;
 
@@ -542,13 +542,13 @@ sub package_install_cmd ($;$) {
 }
 sub target_install_packages ($@) {
     my ($ho, @packages) = @_;
-    my @cmd = package_install_cmd($ho);
+    my @cmd = pkg_manager_install_cmd_line($ho);
 
     target_cmd_root($ho,"@cmd @packages", 3000);
 }
 sub target_install_packages_norec ($@) {
     my ($ho, @packages) = @_;
-    my @cmd = package_install_cmd($ho, 1);
+    my @cmd = pkg_manager_install_cmd_line($ho, 1);
 
     target_cmd_root($ho,"@cmd @packages", 3000);
 }
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.