tcl-websh-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@dedasys.com (David N. Welton)
Subject FreeBSD errors
Date Tue, 27 Nov 2001 12:33:06 GMT

I ran the tests on tcl.apache.org, which is a FreeBSD machine:

        Test configuration:
        + Tcl 8.3.2
        + /usr/home/davidw/tcl-websh/src/tests/../unix/websh3.10
        + logfile: webtest.log
        + quiet mode
        + working dir: /usr/home/davidw/tcl-websh/src/tests

        Tests began at Tue Nov 27 04:06:59 PST 2001
        will delete logfilter0, logdest0
        filters are: logfilter0 *.alert-debug
        dests   are: logdest0 *.alert-debug
        testing file locking: 10 concurrent processes with 100 file locks each
        (this may take a while...) done

        ==== htmlify-3.1 start and stop interpreter (without use of htmlify) FAILED
        ==== Contents of test case:

            interp create htmlify3_1
            htmlify3_1 eval "load $env(WEB_LIBRARY)"
            interp delete htmlify3_1
            set res ""

        ==== Test generated error:
        couldn't load file "../unix/libwebsh3.10.so": ../unix/libwebsh3.10.so: invalid shared
object: e_phentsize != sizeof(Elf_Phdr)
        ---- Result should have been:

        ==== htmlify-3.1 FAILED

This one above is kind of strange.  I'm not sure what problems it
would be having with shared objects...  Even in a normal Tcl shell, it
can't load that file:

        ==== htmlify-3.2 start interp, use htmlify, and stop again FAILED
        ==== Contents of test case:

            interp create htmlify3_2
            htmlify3_2 eval "load $env(WEB_LIBRARY)"
            set res [htmlify3_2 eval web::htmlify " !\"#\$%&'()*+"]
            interp delete htmlify3_2
            set res

        ==== Test generated error:
        couldn't load file "../unix/libwebsh3.10.so": ../unix/libwebsh3.10.so: invalid shared
object: e_phentsize != sizeof(Elf_Phdr)
        ---- Result should have been:
        !"#$%&'()*+
        ==== htmlify-3.2 FAILED

Same problem as above.

        11/27/01 04:07:03 [94041] user.debug: test
        11/27/01 04:07:03 [94041] user.debug: test
        11/27/01 04:07:03 [94041] user.debug: test
        11/27/01 04:07:03 [94041] user.debug: test

        ==== mintest-1.1 create an interpreter, load websh3 FAILED
        ==== Contents of test case:

            set fn "mintest1_1.tcl"
            set fh [open $fn "w"]
            puts $fh {catch {web::copyright} msg}
            puts $fh {set res $msg}
            puts $fh {load $env(WEB_LIBRARY)}
            puts $fh {catch {web::encrypt test} msg}
            puts $fh {lappend res $msg}
            puts $fh {puts $res}
            close $fh
            set res ""
            catch {
                ##  fixme: use variable for tclsh8.3
                set res [exec tclsh8.3 $fn]
            }
            file delete -force $fn
            set res

        ---- Result was:

        ---- Result should have been:
        invalid command name web::copyright XDq3pUAU8b
        ==== mintest-1.1 FAILED

It's the load again, it seems.

        ==== tempfile-1.2 web::tempfile reject invalid dir FAILED
        ==== Contents of test case:

            set tmp [web::tempfile -path "/tmp/yoyoy" -prefix "prefix"]
            set msg ""
            if {[string match "/tmp/yoyoy*" $tmp]} {
                set msg "error: accepted $tmp"
            } elseif {[string match "*prefi*" $tmp]} {
                set msg "ok"
            } else {
                set msg "error: rejected valid prefix"
            }
            set msg

        ---- Result was:
        error: accepted /tmp/yoyoy/prefixm1lwXi
        ---- Result should have been:
        ok
        ==== tempfile-1.2 FAILED

I wonder if this has to do with the mkstemp (and company) commands...

        Tests ended at Tue Nov 27 04:07:08 PST 2001

        webtest.ws3:	Total	413	Passed	401	Skipped	8	Failed	4
        Sourced 28 Test Files.
        Files with failing tests: htmlify.test mintest.test msc.test
        Number of tests skipped for each constraint:
                6	emptyTest
                1	pcOnly
                1	unixOnly, emptyTest

Jason, IIRC, you run FreeBSD - any comments or ideas?

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
Free Software: http://people.debian.org/~davidw/
   Apache Tcl: http://tcl.apache.org/
     Personal: http://www.efn.org/~davidw/

Mime
View raw message