summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2003-12-02 09:02:03 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2003-12-02 09:02:03 +0000
commit5844c9d38b54be608dd4ff5e12f052043045e35f (patch)
treea91f7a63b4769c96b8a861a96f70875bfae4bc69 /regress/usr.bin
parent614c7fb94be01813da533867c367aec4daa4440f (diff)
Test long var names.
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/bc/Makefile7
-rw-r--r--regress/usr.bin/bc/t17.in566
-rw-r--r--regress/usr.bin/bc/t17.out569
3 files changed, 1139 insertions, 3 deletions
diff --git a/regress/usr.bin/bc/Makefile b/regress/usr.bin/bc/Makefile
index 51b59fe5a93..fa6eed9ad38 100644
--- a/regress/usr.bin/bc/Makefile
+++ b/regress/usr.bin/bc/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.7 2003/11/17 11:23:02 otto Exp $
+# $OpenBSD: Makefile,v 1.8 2003/12/02 09:02:02 otto Exp $
BC=bc
-REGRESS_TARGETS=t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16
+REGRESS_TARGETS=t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16 t17
# .in: input file
# .out: desired result
@@ -10,7 +10,7 @@ REGRESS_TARGETS=t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16
# t1: bc.library
# t2: while loop
# t3: for loop
-# t4: deep nested while loop
+# t4: deeply nested while loop
# t5: function definition and call
# t6: empty if statement
# t7: assignment ops
@@ -23,6 +23,7 @@ REGRESS_TARGETS=t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16
# t14: compare
# t15: boolean and
# t16: boolean or
+# t17: long var names
all: clean ${REGRESS_TARGET}
diff --git a/regress/usr.bin/bc/t17.in b/regress/usr.bin/bc/t17.in
new file mode 100644
index 00000000000..2a1b242cf98
--- /dev/null
+++ b/regress/usr.bin/bc/t17.in
@@ -0,0 +1,566 @@
+a=97
+b=98
+c=99
+d=100
+e=101
+f=102
+g=103
+h=104
+i=105
+j=106
+k=107
+l=108
+m=109
+n=110
+o=111
+p=112
+q=113
+r=114
+s=115
+t=116
+u=117
+v=118
+w=119
+x=120
+y=121
+z=122
+_=123
+a0=0
+a1=1
+a2=2
+a3=3
+a4=4
+a5=5
+a6=6
+a7=7
+a8=8
+a9=9
+a10=10
+a11=11
+a12=12
+a13=13
+a14=14
+a15=15
+a16=16
+a17=17
+a18=18
+a19=19
+a20=20
+a21=21
+a22=22
+a23=23
+a24=24
+a25=25
+a26=26
+a27=27
+a28=28
+a29=29
+a30=30
+a31=31
+a32=32
+a33=33
+a34=34
+a35=35
+a36=36
+a37=37
+a38=38
+a39=39
+a40=40
+a41=41
+a42=42
+a43=43
+a44=44
+a45=45
+a46=46
+a47=47
+a48=48
+a49=49
+a50=50
+a51=51
+a52=52
+a53=53
+a54=54
+a55=55
+a56=56
+a57=57
+a58=58
+a59=59
+a60=60
+a61=61
+a62=62
+a63=63
+a64=64
+a65=65
+a66=66
+a67=67
+a68=68
+a69=69
+a70=70
+a71=71
+a72=72
+a73=73
+a74=74
+a75=75
+a76=76
+a77=77
+a78=78
+a79=79
+a80=80
+a81=81
+a82=82
+a83=83
+a84=84
+a85=85
+a86=86
+a87=87
+a88=88
+a89=89
+a90=90
+a91=91
+a92=92
+a93=93
+a94=94
+a95=95
+a96=96
+a97=97
+a98=98
+a99=99
+a100=100
+a101=101
+a102=102
+a103=103
+a104=104
+a105=105
+a106=106
+a107=107
+a108=108
+a109=109
+a110=110
+a111=111
+a112=112
+a113=113
+a114=114
+a115=115
+a116=116
+a117=117
+a118=118
+a119=119
+a120=120
+a121=121
+a122=122
+a123=123
+a124=124
+a125=125
+a126=126
+a127=127
+a128=128
+a129=129
+a130=130
+a131=131
+a132=132
+a133=133
+a134=134
+a135=135
+a136=136
+a137=137
+a138=138
+a139=139
+a140=140
+a141=141
+a142=142
+a143=143
+a144=144
+a145=145
+a146=146
+a147=147
+a148=148
+a149=149
+a150=150
+a151=151
+a152=152
+a153=153
+a154=154
+a155=155
+a156=156
+a157=157
+a158=158
+a159=159
+a160=160
+a161=161
+a162=162
+a163=163
+a164=164
+a165=165
+a166=166
+a167=167
+a168=168
+a169=169
+a170=170
+a171=171
+a172=172
+a173=173
+a174=174
+a175=175
+a176=176
+a177=177
+a178=178
+a179=179
+a180=180
+a181=181
+a182=182
+a183=183
+a184=184
+a185=185
+a186=186
+a187=187
+a188=188
+a189=189
+a190=190
+a191=191
+a192=192
+a193=193
+a194=194
+a195=195
+a196=196
+a197=197
+a198=198
+a199=199
+a200=200
+a201=201
+a202=202
+a203=203
+a204=204
+a205=205
+a206=206
+a207=207
+a208=208
+a209=209
+a210=210
+a211=211
+a212=212
+a213=213
+a214=214
+a215=215
+a216=216
+a217=217
+a218=218
+a219=219
+a220=220
+a221=221
+a222=222
+a223=223
+a224=224
+a225=225
+a226=226
+a227=227
+a228=228
+a229=229
+a230=230
+a231=231
+a232=232
+a233=233
+a234=234
+a235=235
+a236=236
+a237=237
+a238=238
+a239=239
+a240=240
+a241=241
+a242=242
+a243=243
+a244=244
+a245=245
+a246=246
+a247=247
+a248=248
+a249=249
+a250=250
+a251=251
+a252=252
+a253=253
+a254=254
+a255=255
+a
+b
+c
+d
+e
+f
+g
+h
+i
+j
+k
+l
+m
+n
+o
+p
+q
+r
+s
+t
+u
+v
+w
+x
+y
+z
+_
+a0
+a1
+a2
+a3
+a4
+a5
+a6
+a7
+a8
+a9
+a10
+a11
+a12
+a13
+a14
+a15
+a16
+a17
+a18
+a19
+a20
+a21
+a22
+a23
+a24
+a25
+a26
+a27
+a28
+a29
+a30
+a31
+a32
+a33
+a34
+a35
+a36
+a37
+a38
+a39
+a40
+a41
+a42
+a43
+a44
+a45
+a46
+a47
+a48
+a49
+a50
+a51
+a52
+a53
+a54
+a55
+a56
+a57
+a58
+a59
+a60
+a61
+a62
+a63
+a64
+a65
+a66
+a67
+a68
+a69
+a70
+a71
+a72
+a73
+a74
+a75
+a76
+a77
+a78
+a79
+a80
+a81
+a82
+a83
+a84
+a85
+a86
+a87
+a88
+a89
+a90
+a91
+a92
+a93
+a94
+a95
+a96
+a97
+a98
+a99
+a100
+a101
+a102
+a103
+a104
+a105
+a106
+a107
+a108
+a109
+a110
+a111
+a112
+a113
+a114
+a115
+a116
+a117
+a118
+a119
+a120
+a121
+a122
+a123
+a124
+a125
+a126
+a127
+a128
+a129
+a130
+a131
+a132
+a133
+a134
+a135
+a136
+a137
+a138
+a139
+a140
+a141
+a142
+a143
+a144
+a145
+a146
+a147
+a148
+a149
+a150
+a151
+a152
+a153
+a154
+a155
+a156
+a157
+a158
+a159
+a160
+a161
+a162
+a163
+a164
+a165
+a166
+a167
+a168
+a169
+a170
+a171
+a172
+a173
+a174
+a175
+a176
+a177
+a178
+a179
+a180
+a181
+a182
+a183
+a184
+a185
+a186
+a187
+a188
+a189
+a190
+a191
+a192
+a193
+a194
+a195
+a196
+a197
+a198
+a199
+a200
+a201
+a202
+a203
+a204
+a205
+a206
+a207
+a208
+a209
+a210
+a211
+a212
+a213
+a214
+a215
+a216
+a217
+a218
+a219
+a220
+a221
+a222
+a223
+a224
+a225
+a226
+a227
+a228
+a229
+a230
+a231
+a232
+a233
+a234
+a235
+a236
+a237
+a238
+a239
+a240
+a241
+a242
+a243
+a244
+a245
+a246
+a247
+a248
+a249
+a250
+a251
+a252
+a253
+a254
+a255
diff --git a/regress/usr.bin/bc/t17.out b/regress/usr.bin/bc/t17.out
new file mode 100644
index 00000000000..afa55d4dee1
--- /dev/null
+++ b/regress/usr.bin/bc/t17.out
@@ -0,0 +1,569 @@
+ 97sa
+ 98sb
+ 99sc
+ 100sd
+ 101se
+ 102sf
+ 103sg
+ 104sh
+ 105si
+ 106sj
+ 107sk
+ 108sl
+ 109sm
+ 110sn
+ 111so
+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 142s
+ 143s
+ 144s
+ 145s
+ 146s
+ 147s
+ 148s
+ 149s
+ 150s
+ 151s
+ 152s
+ 153s
+ 154s
+ 155s
+ 156s
+ 157s
+ 158s
+ 159s
+ 160s
+ 161s
+ 162s
+ 163s
+ 164s
+ 165s
+ 166s
+ 167s
+ 168s
+ 169s
+ 170s
+ 171s
+ 172s
+ 173s
+ 174s
+ 175s
+ 176s
+ 177s
+ 178s
+ 179s
+ 180s
+ 181s
+ 182s
+ 183s
+ 184s
+ 185s
+ 186s
+ 187s
+ 188s
+ 189s
+ 190s
+ 191s
+ 192s
+ 193s
+ 194s
+ 195s
+ 196s
+ 197s
+ 198s
+ 199s
+ 200s
+ 201s
+ 202s
+ 203s
+ 204s
+ 205s
+ 206s
+ 207s
+ 208s
+ 209s
+ 210s
+ 211s
+ 212s
+ 213s
+ 214s
+ 215s
+ 216s
+ 217s
+ 218s
+ 219s
+ 220s
+ 221s
+ 222s
+ 223s
+ 224s
+ 225s
+ 226s
+ 227s
+ 228s
+ 229s
+ 230s
+ 231s
+ 232s
+ 233s
+ 234s
+ 235s
+ 236s
+ 237s
+ 238s
+ 239s
+ 240s
+ 241s
+ 242s
+ 243s
+ 244s
+ 245s
+ 246s
+ 247s
+ 248s
+ 249s
+ 250s
+ 251s
+ 252s
+ 253s
+ 254s
+ 255s
+laps.
+lbps.
+lcps.
+ldps.
+leps.
+lfps.
+lgps.
+lhps.
+lips.
+ljps.
+lkps.
+llps.
+lmps.
+lnps.
+lops.
+lpps.
+lqps.
+lrps.
+lsps.
+ltps.
+lups.
+lvps.
+lwps.
+lxps.
+lyps.
+lzps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+l ps.
+l
+ps.
+l ps.
+l ps.
+l ps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+l ps.
+l!ps.
+l"ps.
+l#ps.
+l$ps.
+l%ps.
+l&ps.
+l'ps.
+l(ps.
+l)ps.
+l*ps.
+l+ps.
+l,ps.
+l-ps.
+l.ps.
+l/ps.
+l0ps.
+l1ps.
+l2ps.
+l3ps.
+l4ps.
+l5ps.
+l6ps.
+l7ps.
+l8ps.
+l9ps.
+l:ps.
+l;ps.
+l<ps.
+l=ps.
+l>ps.
+l?ps.
+l@ps.
+lAps.
+lBps.
+lCps.
+lDps.
+lEps.
+lFps.
+lGps.
+lHps.
+lIps.
+lJps.
+lKps.
+lLps.
+lMps.
+lNps.
+lOps.
+lPps.
+lQps.
+lRps.
+lSps.
+lTps.
+lUps.
+lVps.
+lWps.
+lXps.
+lYps.
+lZps.
+l^ps.
+l_ps.
+l`ps.
+laps.
+lbps.
+lcps.
+ldps.
+leps.
+lfps.
+lgps.
+lhps.
+lips.
+ljps.
+lkps.
+llps.
+lmps.
+lnps.
+lops.
+lpps.
+lqps.
+lrps.
+lsps.
+ltps.
+lups.
+lvps.
+lwps.
+lxps.
+lyps.
+lzps.
+l{ps.
+l|ps.
+l}ps.
+l~ps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+lps.
+q \ No newline at end of file