9 More Discussions You Might Find Interesting
1. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Write a script that performs a post processing action:
The run time environment of the script has the... (2 Replies)
Discussion started by: kenrowe
2 Replies
2. Shell Programming and Scripting
First off, I know this is sort of a rehash of similar questions that have been asked in other closed threads, but I haven't been able to figure out how to apply the answers provided in those threads to my scenario and make it work.
I am working on a script in KSH on AIX 5.1 that will do a bulk... (1 Reply)
Discussion started by: derndingle
1 Replies
3. UNIX for Advanced & Expert Users
Hi, all:
How can I check what happen with my own NIC driver which response "successful" when local PC "ping" a remote linux PC but "unreachable" when it "ping" a remote windows XP PC? My writed driver runs in linux 3.0.4 kernel.
thanks!
li, kunlun (1 Reply)
Discussion started by: liklstar
1 Replies
4. UNIX for Advanced & Expert Users
Hi everyone.
I need to install HP-UX 11i and I want user installation guide which shows me how to install HP-UX 11i step by step.:) (1 Reply)
Discussion started by: ahmedbashir
1 Replies
5. UNIX for Advanced & Expert Users
Hi,
I made two group the first one consists of two logic drivers (raid 1), the other one consists of four logic drivers raid 5.
when I tried to install tru64 Unix v5.1 I received an error which is:-
here is my show dev:-
dqa00.0.0.105.0 DQA0 cd-224E 9.5B
dra0.0.0.0.7.1 DRA0 2 Member RAID 1... (0 Replies)
Discussion started by: ahmedbashir
0 Replies
6. Solaris
Hi all,
I have to view only success full login attempts . View who are all
logged in correctly , and where it can be stored?
Thanks in advance
Gnanavel (3 Replies)
Discussion started by: Gnanavel
3 Replies
7. Shell Programming and Scripting
Hi,
In a shell script we issue a ftp command to transfer some files, so the shell script process invokes another FTP Process. The ftp session has started but due to some reason the ftp is broken, then how to determine in the script that the file transfer was not successful.
We can make a check... (5 Replies)
Discussion started by: julie_s
5 Replies
8. UNIX for Dummies Questions & Answers
Hi
How can I test inside a shel script whether the last action was successful or not.
I have the following line which is executing inside a script
. ./runProcess.sh $i $var_num>> error.txt 2>&1
This is occuring in a loop. How can i test whether it was succes for last var_num or not. How... (2 Replies)
Discussion started by: Prashantckc
2 Replies
9. Shell Programming and Scripting
Is there a way of finding out if an issued sed command is successful?
Basically, in my script I have a command where mydata=$(cat record | sed '...command here...'). When the sed command finds the data that I am after it is assigned to mydata. When the sed command does not find the data I am... (1 Reply)
Discussion started by: gugs
1 Replies
Apache::TestHandler(3pm) User Contributed Perl Documentation Apache::TestHandler(3pm)
NAME
Apache::TestHandler - a few response handlers and helpers
SYNOPSIS
package My::Test;
use Apache::TestHandler ();
sub handler {
my ($r) = @_;
my $result = do_my_test;
Apache::TestHandler::ok1 $r, $result;
}
sub handler2 {
my ($r) = @_;
my $result = do_my_test;
Apache::TestHandler::ok $r, $result;
}
DESCRIPTION
"Apache::TestHandler" provides 2 very simple response handler.
FUNCTIONS
ok $r, $boolean
The handler simply prints out "ok" or "not ok" depending on the optional $boolean parameter.
If $boolean is omitted "true" is assumed.
ok1 $r, $boolean
This handler implements a simple response-only test. It can be used on its own to check if for a certain URI the response phase is
reached. Or it can be called like a normal function to print out the test result. The client side is automatically created as described
in <http://perl.apache.org/docs/general/testing/testing.html#Developing_Response_only_Part_of_a_Test>.
$boolean is optional. If omitted "true" is assumed.
same_interp_counter
same_interp_fixup
TODO
SEE ALSO
The Apache-Test tutorial: <http://perl.apache.org/docs/general/testing/testing.html>.
Apache::Test.
AUTHOR
Doug MacEachern, Geoffrey Young, Stas Bekman, Torsten Foertsch and others.
Questions can be asked at the test-dev <at> httpd.apache.org list For more information see: http://httpd.apache.org/test/.
perl v5.14.2 2011-04-19 Apache::TestHandler(3pm)