11-11-2005
Thanks RTM. That's a new approach.
I'll give it a try and provide detail result if it fails.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi !
Does anyone know how can i get information about my network interface ... if it works in half or full duplex mode !!
Thx in adivance !
Witt (4 Replies)
Discussion started by: witt
4 Replies
2. UNIX for Advanced & Expert Users
Hi all,
I'm using an HP Proliant server with double NIC and Debian 5 (Lenny) as its OS. I used link bonding on it for several years with no problem.
Today, (now only one interface connected to switch) the interface went down. I restarted networking service (/etc/init.d/networking restart) and... (7 Replies)
Discussion started by: mjdousti
7 Replies
3. Solaris
i need to configure a zone to use different interface (bge2) than global and have connected to completely different network switch & to use its own defaultrouter and hosts file .. is it possible ..if so ..how ?
Thanks (9 Replies)
Discussion started by: skamal4u
9 Replies
4. UNIX for Advanced & Expert Users
hi
I have a question,
eth0 : 192.168.2.10
eth1: 192.168. 2.11
subnet : 255.255.255.0
eth0 and eth1 plug same swich
I want communication between the two interface one host examp :
ping 192.168.2.10 -I eth1
ping 192.168.2.11 -I eth0
but not respons.. pls helme (3 Replies)
Discussion started by: sadosan83
3 Replies
5. UNIX and Linux Applications
Hi,
I'm a italian student. For my thesis I develop a gateway with protocol 6lowpan.
For that I must access to network interface to develope my personal stack based on standard 802.15.4.
Can you help me? I need an explanation for that. (0 Replies)
Discussion started by: berny88
0 Replies
6. IP Networking
Hello,
Please what's the difference between:
AND
Thank you so much (3 Replies)
Discussion started by: chercheur857
3 Replies
7. IP Networking
Hello,
Please, how can i create a network interface with a routable IP address on linux (ubuntu) ?
AND
How can i desactivate an interface?
Thank you so much for help. (1 Reply)
Discussion started by: chercheur857
1 Replies
8. Solaris
I've one Netra 240
After changing main board and system configuration card reader, Network is not accessible any more, Network interfaces are always UP and Running even when there is no cable connected to Network interfaces.
I tried to restart and plumb/unplumb with no luck.
ifconfig -a... (7 Replies)
Discussion started by: samer.odeh
7 Replies
9. UNIX for Dummies Questions & Answers
I have a RHEL 5 system with a bonded interface configure using only one network port (eth0). So I have config file for ifcfg-bond0 and ifcfg-eth. I'd like to configure eth5 to be the second SLAVE in the bond. My question is, after I modify ifcfg-eth5, can I add eth5 to the bond0 interface without... (1 Reply)
Discussion started by: westmoreland
1 Replies
10. AIX
Hi,
We had a hardware problem with an IBM System p5 server, with AIX 5.2
We restore from a tape the last backup we had, but the server does not boot up as expected.
The server try to mount some directories from a storage, but could not comunicate with them, we check the FC and everything is... (12 Replies)
Discussion started by: trevian3969
12 Replies
LEARN ABOUT DEBIAN
test::unit::procedural
Test::Unit::Procedural(3pm) User Contributed Perl Documentation Test::Unit::Procedural(3pm)
NAME
Test::Unit::Procedural - Procedural style unit testing interface
SYNOPSIS
use Test::Unit::Procedural;
# your code to be tested goes here
sub foo { return 23 };
sub bar { return 42 };
# define tests
sub test_foo { assert(foo() == 23, "Your message here"); }
sub test_bar { assert(bar() == 42, "I will be printed if this fails"); }
# set_up and tear_down are used to
# prepare and release resources need for testing
sub set_up { print "hello world
"; }
sub tear_down { print "leaving world again
"; }
# run your test
create_suite();
run_suite();
DESCRIPTION
Test::Unit::Procedural is the procedural style interface to a sophisticated unit testing framework for Perl that is derived from the JUnit
testing framework for Java by Kent Beck and Erich Gamma. While this framework is originally intended to support unit testing in an object-
oriented development paradigm (with support for inheritance of tests etc.), Test::Unit::Procedural is intended to provide a simpler inter-
face to the framework that is more suitable for use in a scripting style environment. Therefore, Test::Unit::Procedural does not provide
much support for an object-oriented approach to unit testing - if you want that, please have a look at Test::Unit::TestCase.
You test a given unit (a script, a module, whatever) by using Test::Unit::Procedural, which exports the following routines into your names-
pace:
assert()
used to assert that a boolean condition is true
create_suite()
used to create a test suite consisting of all methods with a name prefix of "test"
run_suite()
runs the test suite (text output)
add_suite()
used to add test suites to each other
For convenience, "create_suite()" will automatically build a test suite for a given package. This will build a test case for each subrou-
tine in the package given that has a name starting with "test" and pack them all together into one TestSuite object for easy testing. If
you dont give a package name to "create_suite()", the current package is taken as default.
Test output is one status line (a "." for every successful test run, or an "F" for any failed test run, to indicate progress), one result
line ("OK" or "!!!FAILURES!!!"), and possibly many lines reporting detailed error messages for any failed tests.
Please remember, Test::Unit::Procedural is intended to be a simple and convenient interface. If you need more functionality, take the
object-oriented approach outlined in Test::Unit::TestCase.
AUTHOR
Copyright (c) 2000-2002, 2005 the PerlUnit Development Team (see Test::Unit or the AUTHORS file included in this distribution).
All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
o Test::Unit::TestCase
o the procedural style examples in the examples directory
perl v5.8.8 2006-09-13 Test::Unit::Procedural(3pm)