Hi
I'm trying to compile libnet in Solaris 9, but it seems to have syntax errors. I got it from www.packetfactory.net/libnet/ which is the address the computer suggested me to download it.
I downloaded the 1.1.2.1 version which is supposed to be stable
Anybody knows if the code has... (3 Replies)
Hello Guys,
I am using Solaris Developer Express Edition 9/07, I am a beginner. Please tell me how to compile and execute a C program. Please give me your answers clearly, for the compilers cc,c89,c99. I not getting the answer anywhere. Please....... reply to me.
Advance thanks......... (0 Replies)
Hello,
I'm trying to build scilab 5.0.2 on a Solaris 9 Sparc
After more than one hour of compiling, this error msg appear, what could be the problem? if you need any more info i'm here.
Thanks for your help.
Error msg :... (0 Replies)
Hi all,
I'm trying to install rrdtools on a sparc solaris10 system for use with Nagiosgraph. I inititially just added the rrdtools package from sunfreeware but this package doesn't include the directory that Perl needs.
I've been told that compiling from source is my only option. I;m trying... (0 Replies)
Finally I was able to compile PHP on AIX. When I try to load from Apache, I get the below error.
/install/usr/local/apache2/bin:>apachectl -f /install/usr/local/apache2/conf/httpd.conf -k stop
httpd: Syntax error on line 53 of /install/usr/local/apache2/conf/httpd.conf: Cannot load... (0 Replies)
so I am trying to build "directory server 389" on solaris 10.
I am using this as i guide:
389 Directory Server (Open Source LDAP)
I am using solaria studio as my compiler.
I built NSPR with no issues.
the problem is NSS (Network Security Services)
I simply can't find instruction... (0 Replies)
Hi all :)
I've been given a task to try and upgrade Samba on our legacy Solaris 9 (SunOS 5.9) sparc system. Its currently running samba 3.5.3 but we'd like to try and install 3.6.0 (or 3.6.25) to have minimal protocol smbv2.
When trying to install from source, it appears to configure fine,... (4 Replies)
Discussion started by: jimbob01
4 Replies
LEARN ABOUT DEBIAN
test::identity
Test::Identity(3pm) User Contributed Perl Documentation Test::Identity(3pm)NAME
"Test::Identity" - assert the referential identity of a reference
SYNOPSIS
use Test::More tests => 2;
use Test::Identity;
use Thingy;
{
my $thingy;
sub get_thingy { return $thingy }
sub set_thingy { $thingy = shift; }
}
identical( get_thingy, undef, 'get_thingy is undef' );
my $test_thingy = Thingy->new;
set_thingy $test_thingy;
identical( get_thingy, $thingy, 'get_thingy is now $test_thingy' );
DESCRIPTION
This module provides a single testing function, "identical". It asserts that a given reference is as expected; that is, it either refers to
the same object or is "undef". It is similar to "Test::More::is" except that it uses "refaddr", ensuring that it behaves correctly even if
the references under test are objects that overload stringification or numification.
It also provides better diagnostics if the test fails:
$ perl -MTest::More=tests,1 -MTest::Identity -e'identical [], {}'
1..1
not ok 1
# Failed test at -e line 1.
# Expected an anonymous HASH ref, got an anonymous ARRAY ref
# Looks like you failed 1 test of 1.
$ perl -MTest::More=tests,1 -MTest::Identity -e'identical [], []'
1..1
not ok 1
# Failed test at -e line 1.
# Expected an anonymous ARRAY ref to the correct object
# Looks like you failed 1 test of 1.
FUNCTIONS
identical( $got, $expected, $name )
Asserts that $got refers to the same object as $expected.
AUTHOR
Paul Evans <leonerd@leonerd.org.uk>
perl v5.10.1 2010-11-28 Test::Identity(3pm)