| Anonymous | Login | Signup for a new account | 11-10-2008 11:06 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0001046 | [BusyBox] Standards Compliance | minor | always | 09-24-06 05:46 | 02-14-08 08:25 | ||||
| Reporter | walter | View Status | public | ||||||
| Assigned To | BusyBox | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | 1.2.x | ||||||
| Summary | 0001046: ash does not handle quotes propperly (aka like /bin/sh) | ||||||||
| Description |
The following tests are part of the bash-test suite posix2. the bb ash passed all other posix2 tests. SQUOTE="'" val1=$(set | sed -n 's:^SQUOTE=::p') if [ "$val1" != "''\\'''" ]; then echo testfail "variable quoting 1" fi VHASH=ab#cd val1=$(set | sed -n 's:^VHASH=::p') if [ "$val1" != "ab#cd" ]; then echo testfail "variable quoting 3" fi |
||||||||
| Additional Information |
VHASH when adding a 'tee' to catch the output of 'set' i see the following: ash: val1=''"'"'ab#cd'"'" sh: val1=ab#cd SQUOTE using sh -x (ash -x) shows: ash: + [ ''"'" != ''\''' ] sh : + '[' ''\'''\''\'\'''\'''\''' '!=' ''\'''\''\'\'''\'''\''' ']' |
||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Copyright © 2000 - 2006 Mantis Group |