install_tests.sh fails due to bashism
Bug #790199 reported by
Laurynas Biveinis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
Undecided
|
Oleg Tsarev | ||
5.1 |
Fix Released
|
Undecided
|
Oleg Tsarev | ||
5.5 |
Fix Released
|
Undecided
|
Oleg Tsarev |
Bug Description
Running install_tests.sh directly or by make tests fails with
laurynas@
./install_tests.sh: 29: let: not found
./install_tests.sh: 31: current: parameter not set
The first line of the script say #!/bin/sh . I suspect that "let" is bash-specific construct. If the script is run with bash, then it runs OK:
bash ./install_tests.sh
...tons of OK output...
I believe this is introduced by the fix to bug 782391.
Related branches
lp://staging/~tsarev/percona-server/5.1-install_tests_fix-790199
- Percona developers: Pending requested
-
Diff: 23 lines (+3/-3)1 file modifiedinstall_tests.sh (+3/-3)
Changed in percona-server: | |
assignee: | nobody → Oleg Tsarev (tsarev) |
status: | New → In Progress |
Changed in percona-server: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
So this appears to be fixed in 5.1 trunk (by Nacho in release branch). So perhaps we should mark as fix released and assign to next milestone (5.1.58)