[Bug 102720] Re: Bash in Feisty is not compatible with LTP 20070331
The #! line at the top refers to #!/bin/sh, which in Edgy and on is dash, not bash. As I stated previously, this syntax is not portable across bourne shells. As a workaround, you can change the #! line to refer to /bin/bash instead. You should probably add SHELL=/bin/bash at the top of the toplevel Makefile. Please notify the authors of the LTP of this problem. I will now be closing this bug out, as it has been determined that this is not a bug with bash, nor with Ubuntu. ** Changed in: bash (Ubuntu) Status: Needs Info => Rejected -- Bash in Feisty is not compatible with LTP 20070331 https://bugs.launchpad.net/bugs/102720 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 102720] Re: Bash in Feisty is not compatible with LTP 20070331
PS, the source code of LTP which I used is downloaded from here "http://nchc.dl.sourceforge.net/sourceforge/ltp/ltp-full-20070331.tgz"; -- Bash in Feisty is not compatible with LTP 20070331 https://bugs.launchpad.net/bugs/102720 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 102720] Re: Bash in Feisty is not compatible with LTP 20070331
The file "generate.sh" is attached. ** Attachment added: "generate.sh in LTP-FULL-20070331" http://librarian.launchpad.net/7135203/generate.sh -- Bash in Feisty is not compatible with LTP 20070331 https://bugs.launchpad.net/bugs/102720 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 102720] Re: Bash in Feisty is not compatible with LTP 20070331
Given the error, it is extremely likely that it is dash being used, not bash. Dash does not recognize syntax like $((foo--)), which is not required by POSIX (although, it also fails to recognize $((foo-1)), which is). If this is the case, the fault lies with LTP, which relies upon unportable syntax. The workaround would be to set SHELL within the makefile to bash, explicitly. (Not setting status until this can be confirmed one way or the other.) -- Bash in Feisty is not compatible with LTP 20070331 https://bugs.launchpad.net/bugs/102720 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 102720] Re: Bash in Feisty is not compatible with LTP 20070331
please add a testcase (generate.sh) to the bug report ** Changed in: bash (Ubuntu) Status: Unconfirmed => Needs Info -- Bash in Feisty is not compatible with LTP 20070331 https://bugs.launchpad.net/bugs/102720 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs