| Anonymous | Login | Signup for a new account | 11-10-2008 11:33 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 | ||||
| 0002044 | [BusyBox] Other | major | always | 02-05-08 11:31 | 02-11-08 04:51 | ||||
| Reporter | kkkonrad | View Status | public | ||||||
| Assigned To | BusyBox | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | svn | ||||||
| Summary | 0002044: ash - problem with expression evaluation | ||||||||
| Description |
with at least 1.6.x till yesterdays svn the following expression incorrectly evaluates to true: if [ ! "a" = "b" -a ! "c" = "c" ];then echo true;fi (found while modifying the initial ramdisk in the RIP (Recovery Is Possible) Linux distribution. The last version which seems to work OK is busybox-1.5.1. busybox 1.6.0 gets it wrong slightly different: both: if [ ! "a" = "b" -a ! "c" = "d" ];then echo true;fi and if [ ! "a" = "b" -a ! "c" = "c" ];then echo true;fi dont evaluate to true. defconfiged, compiled on Fedora 7 and running in a chrooted environment using F7's current glibc. Greetings, Konrad |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
Notes |
|
|
(0003764) vda 02-08-08 21:53 |
it's not an ash bug, it's test applet bug. Try this patch: http://busybox.net/downloads/fixes-1.9.0/busybox-1.9.0-test.patch [^] |
|
(0003834) kkkonrad 02-11-08 04:39 |
Thanks for the quick fix, works like a charm. Konrad |
|
(0003844) bernhardf 02-11-08 04:51 |
Fixed on trunk. |
| Copyright © 2000 - 2006 Mantis Group |