Last change
on this file since 2725 was 2725, checked in by Bruno Cornec, 13 years ago |
- Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
|
File size:
458 bytes
|
Rev | Line | |
---|
[2725] | 1 | # busybox expr
|
---|
| 2 |
|
---|
| 3 | # 3*1000*1000*1000 overflows 32-bit signed int
|
---|
| 4 | res=`busybox expr 0 '<' 3000000000`
|
---|
| 5 | [ x"$res" = x1 ] || exit 1
|
---|
| 6 |
|
---|
| 7 | # 9223372036854775807 = 2^31-1
|
---|
| 8 | res=`busybox expr 0 '<' 9223372036854775807`
|
---|
| 9 | [ x"$res" = x1 ] || exit 1
|
---|
| 10 | # coreutils fails this one!
|
---|
| 11 | res=`busybox expr -9223372036854775800 '<' 9223372036854775807`
|
---|
| 12 | [ x"$res" = x1 ] || exit 1
|
---|
| 13 |
|
---|
| 14 | # This one works only by chance
|
---|
| 15 | # res=`busybox expr 0 '<' 9223372036854775808`
|
---|
| 16 | # [ x"$res" = x1 ] || exit 1
|
---|
Note:
See
TracBrowser
for help on using the repository browser.