10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal.
I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies
2. Linux
HI,
First I'll use yum check-update to check any updates.
Q1: How can I know that how much space needed to update all packages listed by yum check-update command?
Q2: How can I list kernel related packages?
TIA (2 Replies)
Discussion started by: Sumanthsv
2 Replies
3. UNIX and Linux Applications
Is there a reason why yum provide can't find libquazip? I did this.
yum whatprovides */libquazip
A quick google search told me it was in quazip and libquazip.
RPM resource libquazip.so.1 (1 Reply)
Discussion started by: cokedude
1 Replies
4. Red Hat
I was trying to get some dependency checks done in one of my task.
I was running repoquery for one of the package in my repository, output is
repoquery --repoid=gsix-usb --tree-requires App-A-1.1.1-1.i386
App-A-1.1.1-1.i386
\_ Core-2.2.2-1.i386
I was checking for... (1 Reply)
Discussion started by: sumantkukunooru
1 Replies
5. Red Hat
Hi All,
Just installed new Redhat server. I am trying to do rhn_register. I get this error message.
Fatal error: The SSL certificate failed verification.
Any one ran into this error. Please let me know.
I do have internet connection-
ping www.google.com
PING... (1 Reply)
Discussion started by: samnyc
1 Replies
6. Red Hat
How do I delete all of my repo information and start completely fresh? (8 Replies)
Discussion started by: cokedude
8 Replies
7. UNIX for Advanced & Expert Users
Hi Guys,
I am trying install mysql.i386 with yum... But unfortunately I am getting error as listed below:
# yum install mysql.i386
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
... (2 Replies)
Discussion started by: mahesh_raghu
2 Replies
8. Red Hat
hi
i am not able to do yum update in centos5
i was not able to use yum at all.i am getting an like this.
#yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Update Process
No Packages marked for Update
please help me what i have missed (6 Replies)
Discussion started by: praneel2k
6 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I would like to know the difference between YUM UPDATE and YUM UPGRADE. The man pages say upgrade is same as update with the obsolete option. And by default it says the obsolete option is turned on, which would make them equivalent. Does not say what obsolete does.
Can someone please... (3 Replies)
Discussion started by: mojoman
3 Replies
10. Red Hat
I am using Cent OS 5 i need to update proxy server address in yum, i don't know where to update and how exactly i need to specify the proxy address can anyone help me in the issue. (2 Replies)
Discussion started by: praneel2k
2 Replies
App::Cmd::Tester(3pm) User Contributed Perl Documentation App::Cmd::Tester(3pm)
NAME
App::Cmd::Tester - for capturing the result of running an app
VERSION
version 0.318
SYNOPSIS
use Test::More tests => 4;
use App::Cmd::Tester;
use YourApp;
my $result = test_app(YourApp => [ qw(command --opt value) ]);
like($result->stdout, qr/expected output/, 'printed what we expected');
is($result->stderr, '', 'nothing sent to sderr');
is($result->error, undef, 'threw no exceptions');
my $result = test_app(YourApp => [ qw(command --opt value --quiet) ]);
is($result->output, '', 'absolutely no output with --quiet');
DESCRIPTION
One of the reasons that user-executed programs are so often poorly tested is that they are hard to test. App::Cmd::Tester is one of the
tools App-Cmd provides to help make it easy to test App::Cmd-based programs.
It provides one routine: test_app.
METHODS
test_app
Note: while "test_app" is a method, it is by default exported as a subroutine into the namespace that uses App::Cmd::Tester. In other
words: you probably don't need to think about this as a method unless you want to subclass App::Cmd::Tester.
my $result = test_app($app_class => @argv_contents);
This will locally set @ARGV to simulate command line arguments, and will then call the "run" method on the given application class (or
application). Output to the standard output and standard error filehandles will be captured.
$result is an App::Cmd::Tester::Result object, which has methods to access the following data:
stdout - the output sent to stdout
stderr - the output sent to stderr
output - the combined output of stdout and stderr
error - the exception thrown by running the application, or undef
run_rv - the return value of the run method (generally irrelevant)
exit_code - the numeric exit code that would've been issued (0 is 'okay')
AUTHOR
Ricardo Signes <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-05-05 App::Cmd::Tester(3pm)