Merge lp:~zorba-coders/zorba/fix-shebang-test into lp:zorba
Proposed by
Chris Hillery
Status: | Merged |
---|---|
Approved by: | Sorin Marian Nasoi |
Approved revision: | 11422 |
Merged at revision: | 11423 |
Proposed branch: | lp:~zorba-coders/zorba/fix-shebang-test |
Merge into: | lp:zorba |
Diff against target: |
24 lines (+4/-4) 2 files modified
bin/CMakeLists.txt (+3/-3) bin/test/shebang.xq (+1/-1) |
To merge this branch: | bzr merge lp:~zorba-coders/zorba/fix-shebang-test |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sorin Marian Nasoi | Approve | ||
Chris Hillery | Approve | ||
Review via email: mp+161785@code.launchpad.net |
Commit message
Don't use absolute path for shebang test - can be too long on RQ.
To post a comment you must log in.
The issue was that previously, shebang.xq was created with an absolute path to the Zorba interpreter. However, on the RQ, the branch name is used as part of the directory path, and this led to some very long absolute paths. Apparently there is a limit of 64 characters for the shebang line on the RQ machine. The merge which added this test had a short name so it worked; later merges were not so lucky.
Now I just use a relative path for the shebang file, and set WORKING_DIRECTORY for the test so it will be in the right place.