summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2010-02-17 22:22:20 +0000
committerjilles <jilles@FreeBSD.org>2010-02-17 22:22:20 +0000
commit8e6f78bc9798188277e078a9762ed60eaf865b55 (patch)
treeb1abeb240ab2d7c3c8b9b59957456d91c774967f /tools
parente0193fb6b2191103d51491047c9af4adbc6be146 (diff)
downloadFreeBSD-src-8e6f78bc9798188277e078a9762ed60eaf865b55.zip
FreeBSD-src-8e6f78bc9798188277e078a9762ed60eaf865b55.tar.gz
sh: arith: Test an octal constant as well.
Diffstat (limited to 'tools')
-rw-r--r--tools/regression/bin/sh/expansion/arith2.01
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/regression/bin/sh/expansion/arith2.0 b/tools/regression/bin/sh/expansion/arith2.0
index c4fdccd..3e4bb2f 100644
--- a/tools/regression/bin/sh/expansion/arith2.0
+++ b/tools/regression/bin/sh/expansion/arith2.0
@@ -22,6 +22,7 @@ check "4611686018427387904" 4611686018427387904
check "0x4000000000000000" 4611686018427387904
check "0400000000000000000000" 4611686018427387904
check "0x4Ab0000000000000" 5381801554707742720
+check "010" 8
# try out all operators
v=42
OpenPOWER on IntegriCloud