Skip to content

Quoting issues when using '--job' with GC3Pie #1438

@geimer

Description

@geimer

EasyBuild environment variables seem to be converted to command-line options when using --job with GC3Pie. However, quoting seems to be broken in some places. Below is a list of the issues I ran into (but there may be more, of course):

  • Using

    EASYBUILD_TEST_REPORT_ENV_FILTER="^SSH|GPG|USER|HOSTNAME|UID|KDE|XDG|.*(COOKIE|SESSION).*"
    

    leads to

    --test-report-env-filter=^SSH|GPG|USER|HOSTNAME|UID|KDE|XDG|.*(COOKIE|SESSION).*
    

    Here, the parens cause havoc:

    /bin/sh: 1: Syntax error: word unexpected (expecting ")")
    
  • Using

    EASYBUILD_SUFFIX_MODULES_PATH=
    

    to get rid of the all default setting leads to

    --suffix-modules-path=\\\"\\\"
    

    which in the end creates a directory called "" in the modules path. This lets the sanity check fail (loading fake module failed).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions