Skip to content

test safeinterp fails on TCL 8.6 #11

Description

@teclabat

I get:

==== safeinterp-1.2 Loading into safe interp using package require FAILED
==== Contents of test case:

        $slave eval {
                package require parse_args
                parse_args::parse_args {-test foo-1.2} {
                        -test   {-required}
                }
                set test
        }

---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: load of binary library for package Parse_args failed: can't use package in a safe in
terpreter: no Parse_args_SafeInit procedure
    invoked from within
"load $libfile [string totitle parse_args]"
    (lambda term "
        dir {
                if {[package vsatisfies [package provide Tcl] 9.0-..." line 7)
    invoked from within

Should it work on TCL 9.0 only?
Else the error message points that there is no Parse_args_SafeInit procedure ...

Environment: Windows, msys2, mingw64

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions