Skip to content

Commit 379b68b

Browse files
committed
Enables author tests in xt
Looks like existing files are not tidy?
1 parent 8412159 commit 379b68b

5 files changed

Lines changed: 8 additions & 7 deletions

File tree

lib/Rex/Commands/Gather.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ our $VERSION = '9999.99.99_99'; # VERSION
3434
use Data::Dumper;
3535
use Rex::Hardware;
3636
use Rex::Hardware::Host;
37+
3738
#use Rex::Hardware::Network;
3839
use Rex::Hardware::Memory;
3940
use Rex::Helper::System;

lib/Rex/Commands/Process.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ sub ps {
119119
my (@custom) = @_;
120120
my @list;
121121

122-
if (is_openwrt()) {
122+
if ( is_openwrt() ) {
123123

124124
# openwrt doesn't have ps aux
125125
@list = i_run( "ps", fail_ok => 1 );

lib/Rex/Output.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ my $handle;
1313
use vars qw($output_object);
1414

1515
#BEGIN { IPC::Shareable->use; }
16-
END { IPC::Shareable->clean_up_all; }
16+
END { IPC::Shareable->clean_up_all; }
1717

1818
use base 'Rex::Output::Base';
1919

lib/Rex/Resource/firewall.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ resource "firewall", { export => 1 }, sub {
103103
};
104104

105105
my $provider =
106-
param_lookup( "provider", case ( lc(operating_system()), $__provider ) );
106+
param_lookup( "provider", case ( lc( operating_system() ), $__provider ) );
107107

108108
if ( $provider !~ m/::/ ) {
109109
$provider = "Rex::Resource::firewall::Provider::$provider";

lib/Rex/User.pm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@ use Rex::Logger;
1616
sub get {
1717

1818
my $user_o = "Linux";
19-
if (is_freebsd()) {
19+
if ( is_freebsd() ) {
2020
$user_o = "FreeBSD";
2121
}
22-
elsif (is_netbsd()) {
22+
elsif ( is_netbsd() ) {
2323
$user_o = "NetBSD";
2424
}
25-
elsif (is_openbsd()) {
25+
elsif ( is_openbsd() ) {
2626
$user_o = "OpenBSD";
2727
}
2828
elsif ( operating_system_is("SunOS") ) {
2929
$user_o = "SunOS";
3030
}
31-
elsif (is_openwrt()) {
31+
elsif ( is_openwrt() ) {
3232
$user_o = "OpenWrt";
3333
}
3434

0 commit comments

Comments
 (0)