{"thread":{"id":"8213","subject":"[PATCH] gitweb: Add test t9500 for gitweb (as standalone script)","startedAt":"2007-05-19T00:19:20Z","lastAt":"2007-06-17T15:39:53Z","messageCount":2,"participants":["Jakub Narebski","Sven Verdoolaege"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"42570","messageId":"11795339604115-git-send-email-jnareb@gmail.com","threadId":"8213","inReplyTo":null,"subject":"[PATCH] gitweb: Add test t9500 for gitweb (as standalone script)","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2007-05-19T00:19:20Z","receivedAt":"2007-05-19T00:19:20Z","isPatch":true,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"This test runs gitweb (git web interface) as CGI script from\ncommandline, and checks that it would not write any errors\nor warnings to log.\n\nSigned-off-by: Jakub Narebski <jnareb@gmail.com>\n---\nThis is test I have used to find errors and warnings fixed in the\nlate 'Fix \"Use of uninitialized value\" warning ...' series.\n\nIt is not perfect, it does not offer full coverage, and tests\nonly if there are no errors or warning not checking the output,\nnot even HTTP code, but it helps.\n\n t/t9500-gitweb-standalone-no-errors.sh |  490 ++++++++++++++++++++++++++++++++\n 1 files changed, 490 insertions(+), 0 deletions(-)\n create mode 100755 t/t9500-gitweb-standalone-no-errors.sh\n\ndiff --git a/t/t9500-gitweb-standalone-no-errors.sh b/t/t9500-gitweb-standalone-no-errors.sh\nnew file mode 100755\nindex 0000000..b92ab63\n--- /dev/null\n+++ b/t/t9500-gitweb-standalone-no-errors.sh\n@@ -0,0 +1,490 @@\n+#!/bin/sh\n+#\n+# Copyright (c) 2007 Jakub Narebski\n+#\n+\n+test_description='gitweb as standalone script (basic tests).\n+\n+This test runs gitweb (git web interface) as CGI script from\n+commandline, and checks that it would not write any errors\n+or warnings to log.'\n+\n+gitweb_init () {\n+\tcat >gitweb_config.perl <<EOF\n+#!/usr/bin/perl\n+\n+# gitweb configuration for tests\n+\n+our \\$version = \"current\";\n+our \\$GIT = \"git\";\n+our \\$projectroot = \"$(pwd)\";\n+our \\$home_link_str = \"projects\";\n+our \\$site_name = \"[localhost]\";\n+our \\$site_header = \"\";\n+our \\$site_footer = \"\";\n+our \\$home_text = \"indextext.html\";\n+our @stylesheets = (\"file:///$(pwd)/../../gitweb/gitweb.css\");\n+our \\$logo = \"file:///$(pwd)/../../gitweb/git-logo.png\";\n+our \\$favicon = \"file:///$(pwd)/../../gitweb/git-favicon.png\";\n+our \\$projects_list = \"\";\n+our \\$export_ok = \"\";\n+our \\$strict_export = \"\";\n+\n+CGI::Carp::set_programname(\"gitweb/gitweb.cgi\");\n+EOF\n+\n+\tcat >.git/description <<EOF\n+$0 test repository\n+EOF\n+}\n+\n+gitweb_run () {\n+\texport GATEWAY_INTERFACE=\"CGI/1.1\"\n+\texport HTTP_ACCEPT=\"*/*\"\n+\texport REQUEST_METHOD=\"GET\"\n+\texport QUERY_STRING=\"\"$1\"\"\n+\texport PATH_INFO=\"\"$2\"\"\n+\n+\texport GITWEB_CONFIG=$(pwd)/gitweb_config.perl\n+\n+\t# some of git commands write to STDERR on error, but this is not\n+\t# written to web server logs, so we are not interested in that:\n+\t# we are interested only in properly formatted errors/warnings\n+\trm -f gitweb.log &&\n+\tperl -- $(pwd)/../../gitweb/gitweb.perl \\\n+\t\t>/dev/null 2>gitweb.log &&\n+\tif grep -q -s \"^[[]\" gitweb.log >/dev/null; then false; else true; fi\n+\n+\t# gitweb.log is left for debugging\n+}\n+\n+. ./test-lib.sh\n+\n+gitweb_init\n+\n+# ----------------------------------------------------------------------\n+# no commits (empty, just initialized repository)\n+\n+test_expect_success \\\n+\t'no commits: projects_list (implicit)' \\\n+\t'gitweb_run'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'no commits: projects_index' \\\n+\t'gitweb_run \"a=project_index\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'no commits: .git summary (implicit)' \\\n+\t'gitweb_run \"p=.git\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'no commits: .git commit (implicit HEAD)' \\\n+\t'gitweb_run \"p=.git;a=commit\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'no commits: .git commitdiff (implicit HEAD)' \\\n+\t'gitweb_run \"p=.git;a=commitdiff\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'no commits: .git tree (implicit HEAD)' \\\n+\t'gitweb_run \"p=.git;a=tree\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'no commits: .git heads' \\\n+\t'gitweb_run \"p=.git;a=heads\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'no commits: .git tags' \\\n+\t'gitweb_run \"p=.git;a=tags\"'\n+test_debug 'cat gitweb.log'\n+\n+\n+# ----------------------------------------------------------------------\n+# initial commit\n+\n+test_expect_success \\\n+\t'Make initial commit' \\\n+\t'echo \"Not an empty file.\" > file &&\n+\t git add file &&\n+\t git commit -a -m \"Initial commit.\" &&\n+\t git branch b'\n+\n+test_expect_success \\\n+\t'projects_list (implicit)' \\\n+\t'gitweb_run'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'projects_index' \\\n+\t'gitweb_run \"a=project_index\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'.git summary (implicit)' \\\n+\t'gitweb_run \"p=.git\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'.git commit (implicit HEAD)' \\\n+\t'gitweb_run \"p=.git;a=commit\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'.git commitdiff (implicit HEAD, root commit)' \\\n+\t'gitweb_run \"p=.git;a=commitdiff\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'.git commitdiff_plain (implicit HEAD, root commit)' \\\n+\t'gitweb_run \"p=.git;a=commitdiff_plain\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'.git commit (HEAD)' \\\n+\t'gitweb_run \"p=.git;a=commit;h=HEAD\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'.git tree (implicit HEAD)' \\\n+\t'gitweb_run \"p=.git;a=tree\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'.git blob (file)' \\\n+\t'gitweb_run \"p=.git;a=blob;f=file\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'.git blob_plain (file)' \\\n+\t'gitweb_run \"p=.git;a=blob_plain;f=file\"'\n+test_debug 'cat gitweb.log'\n+\n+# ----------------------------------------------------------------------\n+# nonexistent objects\n+\n+test_expect_success \\\n+\t'.git commit (non-existent)' \\\n+\t'gitweb_run \"p=.git;a=commit;h=non-existent\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'.git commitdiff (non-existent)' \\\n+\t'gitweb_run \"p=.git;a=commitdiff;h=non-existent\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'.git commitdiff (non-existent vs HEAD)' \\\n+\t'gitweb_run \"p=.git;a=commitdiff;hp=non-existent;h=HEAD\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'.git tree (0000000000000000000000000000000000000000)' \\\n+\t'gitweb_run \"p=.git;a=tree;h=0000000000000000000000000000000000000000\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'.git tag (0000000000000000000000000000000000000000)' \\\n+\t'gitweb_run \"p=.git;a=tag;h=0000000000000000000000000000000000000000\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'.git blob (non-existent)' \\\n+\t'gitweb_run \"p=.git;a=blob;f=non-existent\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'.git blob_plain (non-existent)' \\\n+\t'gitweb_run \"p=.git;a=blob_plain;f=non-existent\"'\n+test_debug 'cat gitweb.log'\n+\n+\n+# ----------------------------------------------------------------------\n+# commitdiff testing (implicit, one implicit tree-ish)\n+\n+test_expect_success \\\n+\t'commitdiff(0): root' \\\n+\t'gitweb_run \"p=.git;a=commitdiff\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'commitdiff(0): file added' \\\n+\t'echo \"New file\" > new_file &&\n+\t git add new_file &&\n+\t git commit -a -m \"File added.\" &&\n+\t gitweb_run \"p=.git;a=commitdiff\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'commitdiff(0): mode change' \\\n+\t'chmod a+x new_file &&\n+\t git commit -a -m \"Mode changed.\" &&\n+\t gitweb_run \"p=.git;a=commitdiff\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'commitdiff(0): file renamed' \\\n+\t'git mv new_file renamed_file &&\n+\t git commit -a -m \"File renamed.\" &&\n+\t gitweb_run \"p=.git;a=commitdiff\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'commitdiff(0): file to symlink' \\\n+\t'rm renamed_file &&\n+\t ln -s file renamed_file &&\n+\t git commit -a -m \"File to symlink.\" &&\n+\t gitweb_run \"p=.git;a=commitdiff\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'commitdiff(0): file deleted' \\\n+\t'git rm renamed_file &&\n+\t rm -f renamed_file &&\n+\t git commit -a -m \"File removed.\" &&\n+\t gitweb_run \"p=.git;a=commitdiff\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'commitdiff(0): file copied / new file' \\\n+\t'cp file file2 &&\n+\t git add file2 &&\n+\t git commit -a -m \"File copied.\" &&\n+\t gitweb_run \"p=.git;a=commitdiff\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'commitdiff(0): mode change and modified' \\\n+\t'echo \"New line\" >> file2 &&\n+\t chmod a+x file2 &&\n+\t git commit -a -m \"Mode change and modification.\" &&\n+\t gitweb_run \"p=.git;a=commitdiff\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'commitdiff(0): renamed and modified' \\\n+\t'cat >file2<<EOF &&\n+Dominus regit me,\n+et nihil mihi deerit.\n+In loco pascuae ibi me collocavit,\n+super aquam refectionis educavit me;\n+animam meam convertit,\n+deduxit me super semitas jusitiae,\n+propter nomen suum.\n+EOF\n+\t git commit -a -m \"File added.\" &&\n+\t git mv file2 file3 &&\n+\t echo \"Propter nomen suum.\" >> file3 &&\n+\t git commit -a -m \"File rename and modification.\" &&\n+\t gitweb_run \"p=.git;a=commitdiff\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'commitdiff(0): renamed, mode change and modified' \\\n+\t'git mv file3 file2 &&\n+\t echo \"Propter nomen suum.\" >> file2 &&\n+\t chmod a+x file2 &&\n+\t git commit -a -m \"File rename, mode change and modification.\" &&\n+\t gitweb_run \"p=.git;a=commitdiff\"'\n+test_debug 'cat gitweb.log'\n+\n+# ----------------------------------------------------------------------\n+# commitdiff testing (taken from t4114-apply-typechange.sh)\n+\n+test_expect_success 'setup typechange commits' '\n+\techo \"hello world\" > foo &&\n+\techo \"hi planet\" > bar &&\n+\tgit update-index --add foo bar &&\n+\tgit commit -m initial &&\n+\tgit branch initial &&\n+\trm -f foo &&\n+\tln -s bar foo &&\n+\tgit update-index foo &&\n+\tgit commit -m \"foo symlinked to bar\" &&\n+\tgit branch foo-symlinked-to-bar &&\n+\trm -f foo &&\n+\techo \"how far is the sun?\" > foo &&\n+\tgit update-index foo &&\n+\tgit commit -m \"foo back to file\" &&\n+\tgit branch foo-back-to-file &&\n+\trm -f foo &&\n+\tgit update-index --remove foo &&\n+\tmkdir foo &&\n+\techo \"if only I knew\" > foo/baz &&\n+\tgit update-index --add foo/baz &&\n+\tgit commit -m \"foo becomes a directory\" &&\n+\tgit branch \"foo-becomes-a-directory\" &&\n+\techo \"hello world\" > foo/baz &&\n+\tgit update-index foo/baz &&\n+\tgit commit -m \"foo/baz is the original foo\" &&\n+\tgit branch foo-baz-renamed-from-foo\n+\t'\n+\n+test_expect_success \\\n+\t'commitdiff(2): file renamed from foo to foo/baz' \\\n+\t'gitweb_run \"p=.git;a=commitdiff;hp=initial;h=foo-baz-renamed-from-foo\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'commitdiff(2): file renamed from foo/baz to foo' \\\n+\t'gitweb_run \"p=.git;a=commitdiff;hp=foo-baz-renamed-from-foo;h=initial\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'commitdiff(2): directory becomes file' \\\n+\t'gitweb_run \"p=.git;a=commitdiff;hp=foo-becomes-a-directory;h=initial\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'commitdiff(2): file becomes directory' \\\n+\t'gitweb_run \"p=.git;a=commitdiff;hp=initial;h=foo-becomes-a-directory\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'commitdiff(2): file becomes symlink' \\\n+\t'gitweb_run \"p=.git;a=commitdiff;hp=initial;h=foo-symlinked-to-bar\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'commitdiff(2): symlink becomes file' \\\n+\t'gitweb_run \"p=.git;a=commitdiff;hp=foo-symlinked-to-bar;h=foo-back-to-file\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'commitdiff(2): symlink becomes directory' \\\n+\t'gitweb_run \"p=.git;a=commitdiff;hp=foo-symlinked-to-bar;h=foo-becomes-a-directory\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'commitdiff(2): directory becomes symlink' \\\n+\t'gitweb_run \"p=.git;a=commitdiff;hp=foo-becomes-a-directory;h=foo-symlinked-to-bar\"'\n+test_debug 'cat gitweb.log'\n+\n+# ----------------------------------------------------------------------\n+# commit, commitdiff: merge, large\n+test_expect_success \\\n+\t'Create a merge' \\\n+\t'git checkout b &&\n+\t echo \"Branch\" >> b &&\n+\t git add b &&\n+\t git commit -a -m \"On branch\" &&\n+\t git checkout master &&\n+\t git pull . b'\n+\n+test_expect_success \\\n+\t'commit(0): merge commit' \\\n+\t'gitweb_run \"p=.git;a=commit\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'commitdiff(0): merge commit' \\\n+\t'gitweb_run \"p=.git;a=commitdiff\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'Prepare large commit' \\\n+\t'git checkout b &&\n+\t echo \"To be changed\" > 01-change &&\n+\t echo \"To be renamed\" > 02-pure-rename-from &&\n+\t echo \"To be deleted\" > 03-delete &&\n+\t echo \"To be renamed and changed\" > 04-rename-from &&\n+\t echo \"To have mode changed\" > 05-mode-change &&\n+\t echo \"File to symlink\" > 06-file-or-symlink &&\n+\t echo \"To be changed and have mode changed\" > 07-change-mode-change\t&&\n+\t git add 0* &&\n+\t git commit -a -m \"Prepare large commit\" &&\n+\t echo \"Changed\" > 01-change &&\n+\t git mv 02-pure-rename-from 02-pure-rename-to &&\n+\t git rm 03-delete && rm -f 03-delete &&\n+\t echo \"A new file\" > 03-new &&\n+\t git add 03-new &&\n+\t git mv 04-rename-from 04-rename-to &&\n+\t echo \"Changed\" >> 04-rename-to &&\n+\t chmod a+x 05-mode-change &&\n+\t rm -f 06-file-or-symlink && ln -s 01-change 06-file-or-symlink &&\n+\t echo \"Changed and have mode changed\" > 07-change-mode-change\t&&\n+\t chmod a+x 07-change-mode-change &&\n+\t git commit -a -m \"Large commit\" &&\n+\t git checkout master'\n+\n+test_expect_success \\\n+\t'commit(1): large commit' \\\n+\t'gitweb_run \"p=.git;a=commit;h=b\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'commitdiff(1): large commit' \\\n+\t'gitweb_run \"p=.git;a=commitdiff;h=b\"'\n+test_debug 'cat gitweb.log'\n+\n+# ----------------------------------------------------------------------\n+# tags testing\n+\n+test_expect_success \\\n+\t'tags: list of different types of tags' \\\n+\t'git checkout master &&\n+\t git tag -a -m \"Tag commit object\" tag-commit HEAD &&\n+\t git tag -a -m \"\" tag-commit-nomessage HEAD &&\n+\t git tag -a -m \"Tag tag object\" tag-tag tag-commit &&\n+\t git tag -a -m \"Tag tree object\" tag-tree HEAD^{tree} &&\n+\t git tag -a -m \"Tag blob object\" tag-blob HEAD:file &&\n+\t git tag lightweight/tag-commit HEAD &&\n+\t git tag lightweight/tag-tag tag-commit &&\n+\t git tag lightweight/tag-tree HEAD^{tree} &&\n+\t git tag lightweight/tag-blob HEAD:file &&\n+\t gitweb_run \"p=.git;a=tags\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'tag: Tag to commit object' \\\n+\t'gitweb_run \"p=.git;a=tag;h=tag-commit\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'tag: on lightweight tag (invalid)' \\\n+\t'gitweb_run \"p=.git;a=tag;h=lightweight/tag-commit\"'\n+test_debug 'cat gitweb.log'\n+\n+# ----------------------------------------------------------------------\n+# logs\n+\n+test_expect_success \\\n+\t'logs: log (implicit HEAD)' \\\n+\t'gitweb_run \"p=.git;a=log\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'logs: shortlog (implicit HEAD)' \\\n+\t'gitweb_run \"p=.git;a=shortlog\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'logs: history (implicit HEAD, file)' \\\n+\t'gitweb_run \"p=.git;a=history;f=file\"'\n+test_debug 'cat gitweb.log'\n+\n+# ----------------------------------------------------------------------\n+# feed generation\n+\n+test_expect_success \\\n+\t'feeds: OPML' \\\n+\t'gitweb_run \"a=opml\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'feed: RSS' \\\n+\t'gitweb_run \"p=.git;a=rss\"'\n+test_debug 'cat gitweb.log'\n+\n+test_expect_success \\\n+\t'feed: Atom' \\\n+\t'gitweb_run \"p=.git;a=atom\"'\n+test_debug 'cat gitweb.log'\n+\n+test_done\n-- \n1.5.1.4\n"},{"id":"45226","messageId":"20070617153953.GW955MdfPADPa@greensroom.kotnet.org","threadId":"8213","inReplyTo":"11795339604115-git-send-email-jnareb@gmail.com","subject":"Re: [PATCH] gitweb: Add test t9500 for gitweb (as standalone script)","fromName":"Sven Verdoolaege","fromEmail":"skimo@kotnet.org","sentAt":"2007-06-17T15:39:53Z","receivedAt":"2007-06-17T15:39:53Z","isPatch":true,"sender":{"key":"skimo@kotnet.org","avatar":null},"body":"On Sat, May 19, 2007 at 02:19:20AM +0200, Jakub Narebski wrote:\n> This test runs gitweb (git web interface) as CGI script from\n> commandline, and checks that it would not write any errors\n> or warnings to log.\n\nCould you please skip this test if the version of perl is too old?\n\nIn particular, I get\n[Sun Jun 17 17:28:11 2007] gitweb.perl: Too many arguments for Encode::decode_utf8 at ../../gitweb/gitweb.perl line 618, near \"Encode::FB_CROAK)\"\n[Sun Jun 17 17:28:11 2007] gitweb.perl: Execution of ../../gitweb/gitweb.perl aborted due to compilation errors.\n\nMy Encode.pm has\n\n----\nsub decode_utf8($)\n{\n    my ($str) = @_;\n    return undef unless utf8::decode($str);\n    return $str;\n}\n----\n\nCuriously, it also has\n\n----\n=item $string = decode_utf8($octets [, CHECK]);\n \nequivalent to C<$string = decode(\"utf8\", $octets [, CHECK])>.\nThe sequence of octets represented by\n$octets is decoded from UTF-8 into a sequence of logical\ncharacters. Not all sequences of octets form valid UTF-8 encodings, so\nit is possible for this call to fail.  For CHECK, see\nL</\"Handling Malformed Data\">.\n----\n\n\nIn any case, I don't feel like upgrading perl just for gitweb\non this machine.\n\nbash-3.00$ perl -V\nSummary of my perl5 (revision 5.0 version 8 subversion 0) configuration:\n  Platform:\n    osname=linux, osvers=2.4.18, archname=i686-linux-thread-multi\n    uname='linux greensroom 2.4.18 #2 smp fri jul 19 13:03:13 cest 2002 i686 unknown '\n    config_args='-Doptimize=-g -Dprefix=/usr -Dusedevel -Dusethreads -Duseithreads -Duseshrplib -Dinstallusrbinperl -des'\n    hint=recommended, useposix=true, d_sigaction=define\n    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define\n    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef\n    use64bitint=undef use64bitall=undef uselongdouble=undef\n    usemymalloc=n, bincompat5005=undef\n  Compiler:\n    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',\n    optimize='-g',\n    cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -I/usr/local/include'\n    ccversion='', gccversion='2.95.3 20010315 (SuSE)', gccosandvers=''\n    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234\n    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12\n    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8\n    alignbytes=4, prototype=define\n  Linker and Libraries:\n    ld='cc', ldflags =' -L/usr/local/lib'\n    libpth=/usr/local/lib /lib /usr/lib\n    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil\n    perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil\n    libc=, so=so, useshrplib=true, libperl=libperl.so\n    gnulibc_version='2.2.5'\n  Dynamic Linking:\n    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i686-linux-thread-multi/CORE'\n    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'\n\n\nCharacteristics of this binary (from libperl): \n  Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT\n  Built under linux\n  Compiled at Jul 19 2002 18:11:28\n  @INC:\n    /usr/lib/perl5/5.8.0/i686-linux-thread-multi\n    /usr/lib/perl5/5.8.0\n    /usr/lib/perl5/site_perl/5.8.0/i686-linux-thread-multi\n    /usr/lib/perl5/site_perl/5.8.0\n    /usr/lib/perl5/site_perl\n    .\n\nskimo\n"}]}