1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
|
#! /bin/sh
# This script was generated automatically by mk-script.
case $# in
0) xx='../../src/sort';;
*) xx="$1";;
esac
test "$VERBOSE" && echo=echo || echo=:
$echo testing program: $xx
errors=0
test "$srcdir" || srcdir=.
test "$VERBOSE" && $xx --version 2> /dev/null
# Make sure we get English translations.
LANGUAGE=C
export LANGUAGE
LC_ALL=C
export LC_ALL
LANG=C
export LANG
_POSIX2_VERSION=199209 $xx -n $srcdir/n1.I > n1.O 2> n1.E
code=$?
if test $code != 0; then
$echo "Test n1(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp n1.O $srcdir/n1.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed n1(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test n1(_POSIX2_VERSION=199209) failed: files n1.O and $srcdir/n1.X differ" 1>&2
(diff -c n1.O $srcdir/n1.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test n1(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp n1.O $srcdir/n1.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s n1.E || rm -f n1.E
_POSIX2_VERSION=199209 $xx -n $srcdir/n2.I > n2.O 2> n2.E
code=$?
if test $code != 0; then
$echo "Test n2(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp n2.O $srcdir/n2.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed n2(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test n2(_POSIX2_VERSION=199209) failed: files n2.O and $srcdir/n2.X differ" 1>&2
(diff -c n2.O $srcdir/n2.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test n2(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp n2.O $srcdir/n2.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s n2.E || rm -f n2.E
_POSIX2_VERSION=199209 $xx -n $srcdir/n3.I > n3.O 2> n3.E
code=$?
if test $code != 0; then
$echo "Test n3(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp n3.O $srcdir/n3.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed n3(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test n3(_POSIX2_VERSION=199209) failed: files n3.O and $srcdir/n3.X differ" 1>&2
(diff -c n3.O $srcdir/n3.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test n3(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp n3.O $srcdir/n3.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s n3.E || rm -f n3.E
_POSIX2_VERSION=199209 $xx -n $srcdir/n4.I > n4.O 2> n4.E
code=$?
if test $code != 0; then
$echo "Test n4(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp n4.O $srcdir/n4.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed n4(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test n4(_POSIX2_VERSION=199209) failed: files n4.O and $srcdir/n4.X differ" 1>&2
(diff -c n4.O $srcdir/n4.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test n4(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp n4.O $srcdir/n4.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s n4.E || rm -f n4.E
_POSIX2_VERSION=199209 $xx -n $srcdir/n5.I > n5.O 2> n5.E
code=$?
if test $code != 0; then
$echo "Test n5(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp n5.O $srcdir/n5.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed n5(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test n5(_POSIX2_VERSION=199209) failed: files n5.O and $srcdir/n5.X differ" 1>&2
(diff -c n5.O $srcdir/n5.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test n5(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp n5.O $srcdir/n5.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s n5.E || rm -f n5.E
_POSIX2_VERSION=199209 $xx -n $srcdir/n6.I > n6.O 2> n6.E
code=$?
if test $code != 0; then
$echo "Test n6(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp n6.O $srcdir/n6.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed n6(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test n6(_POSIX2_VERSION=199209) failed: files n6.O and $srcdir/n6.X differ" 1>&2
(diff -c n6.O $srcdir/n6.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test n6(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp n6.O $srcdir/n6.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s n6.E || rm -f n6.E
_POSIX2_VERSION=199209 $xx -n $srcdir/n7.I > n7.O 2> n7.E
code=$?
if test $code != 0; then
$echo "Test n7(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp n7.O $srcdir/n7.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed n7(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test n7(_POSIX2_VERSION=199209) failed: files n7.O and $srcdir/n7.X differ" 1>&2
(diff -c n7.O $srcdir/n7.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test n7(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp n7.O $srcdir/n7.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s n7.E || rm -f n7.E
_POSIX2_VERSION=199209 $xx -s -n -k1,1 $srcdir/n8a.I > n8a.O 2> n8a.E
code=$?
if test $code != 0; then
$echo "Test n8a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp n8a.O $srcdir/n8a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed n8a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test n8a(_POSIX2_VERSION=199209) failed: files n8a.O and $srcdir/n8a.X differ" 1>&2
(diff -c n8a.O $srcdir/n8a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test n8a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp n8a.O $srcdir/n8a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s n8a.E || rm -f n8a.E
_POSIX2_VERSION=199209 $xx -s -n -k1,1 $srcdir/n8b.I > n8b.O 2> n8b.E
code=$?
if test $code != 0; then
$echo "Test n8b(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp n8b.O $srcdir/n8b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed n8b(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test n8b(_POSIX2_VERSION=199209) failed: files n8b.O and $srcdir/n8b.X differ" 1>&2
(diff -c n8b.O $srcdir/n8b.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test n8b(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp n8b.O $srcdir/n8b.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s n8b.E || rm -f n8b.E
_POSIX2_VERSION=199209 $xx -s -n -k1,1 $srcdir/n9a.I > n9a.O 2> n9a.E
code=$?
if test $code != 0; then
$echo "Test n9a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp n9a.O $srcdir/n9a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed n9a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test n9a(_POSIX2_VERSION=199209) failed: files n9a.O and $srcdir/n9a.X differ" 1>&2
(diff -c n9a.O $srcdir/n9a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test n9a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp n9a.O $srcdir/n9a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s n9a.E || rm -f n9a.E
_POSIX2_VERSION=199209 $xx -s -n -k1,1 $srcdir/n9b.I > n9b.O 2> n9b.E
code=$?
if test $code != 0; then
$echo "Test n9b(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp n9b.O $srcdir/n9b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed n9b(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test n9b(_POSIX2_VERSION=199209) failed: files n9b.O and $srcdir/n9b.X differ" 1>&2
(diff -c n9b.O $srcdir/n9b.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test n9b(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp n9b.O $srcdir/n9b.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s n9b.E || rm -f n9b.E
_POSIX2_VERSION=199209 $xx -s -n -k1,1 $srcdir/n10a.I > n10a.O 2> n10a.E
code=$?
if test $code != 0; then
$echo "Test n10a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp n10a.O $srcdir/n10a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed n10a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test n10a(_POSIX2_VERSION=199209) failed: files n10a.O and $srcdir/n10a.X differ" 1>&2
(diff -c n10a.O $srcdir/n10a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test n10a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp n10a.O $srcdir/n10a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s n10a.E || rm -f n10a.E
_POSIX2_VERSION=199209 $xx -s -n -k1,1 $srcdir/n10b.I > n10b.O 2> n10b.E
code=$?
if test $code != 0; then
$echo "Test n10b(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp n10b.O $srcdir/n10b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed n10b(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test n10b(_POSIX2_VERSION=199209) failed: files n10b.O and $srcdir/n10b.X differ" 1>&2
(diff -c n10b.O $srcdir/n10b.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test n10b(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp n10b.O $srcdir/n10b.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s n10b.E || rm -f n10b.E
_POSIX2_VERSION=199209 $xx -s -n -k1,1 $srcdir/n11a.I > n11a.O 2> n11a.E
code=$?
if test $code != 0; then
$echo "Test n11a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp n11a.O $srcdir/n11a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed n11a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test n11a(_POSIX2_VERSION=199209) failed: files n11a.O and $srcdir/n11a.X differ" 1>&2
(diff -c n11a.O $srcdir/n11a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test n11a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp n11a.O $srcdir/n11a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s n11a.E || rm -f n11a.E
_POSIX2_VERSION=199209 $xx -s -n -k1,1 $srcdir/n11b.I > n11b.O 2> n11b.E
code=$?
if test $code != 0; then
$echo "Test n11b(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp n11b.O $srcdir/n11b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed n11b(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test n11b(_POSIX2_VERSION=199209) failed: files n11b.O and $srcdir/n11b.X differ" 1>&2
(diff -c n11b.O $srcdir/n11b.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test n11b(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp n11b.O $srcdir/n11b.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s n11b.E || rm -f n11b.E
_POSIX2_VERSION=199209 $xx $srcdir/01a.I > 01a.O 2> 01a.E
code=$?
if test $code != 0; then
$echo "Test 01a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 01a.O $srcdir/01a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 01a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 01a(_POSIX2_VERSION=199209) failed: files 01a.O and $srcdir/01a.X differ" 1>&2
(diff -c 01a.O $srcdir/01a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 01a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 01a.O $srcdir/01a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 01a.E || rm -f 01a.E
_POSIX2_VERSION=199209 $xx -c $srcdir/02a.I > 02a.O 2> 02a.E
code=$?
if test $code != 0; then
$echo "Test 02a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 02a.O $srcdir/02a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 02a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 02a(_POSIX2_VERSION=199209) failed: files 02a.O and $srcdir/02a.X differ" 1>&2
(diff -c 02a.O $srcdir/02a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 02a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 02a.O $srcdir/02a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 02a.E || rm -f 02a.E
_POSIX2_VERSION=199209 $xx -c $srcdir/02b.I > 02b.O 2> 02b.E
code=$?
if test $code != 1; then
$echo "Test 02b(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 1" 1>&2
errors=`expr $errors + 1`
else
cmp 02b.O $srcdir/02b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 02b(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 02b(_POSIX2_VERSION=199209) failed: files 02b.O and $srcdir/02b.X differ" 1>&2
(diff -c 02b.O $srcdir/02b.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 02b(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 02b.O $srcdir/02b.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 02b.E || rm -f 02b.E
_POSIX2_VERSION=199209 $xx -c -k1,1 $srcdir/02c.I > 02c.O 2> 02c.E
code=$?
if test $code != 0; then
$echo "Test 02c(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 02c.O $srcdir/02c.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 02c(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 02c(_POSIX2_VERSION=199209) failed: files 02c.O and $srcdir/02c.X differ" 1>&2
(diff -c 02c.O $srcdir/02c.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 02c(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 02c.O $srcdir/02c.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 02c.E || rm -f 02c.E
_POSIX2_VERSION=199209 $xx -cu $srcdir/02m.I > 02m.O 2> 02m.E
code=$?
if test $code != 1; then
$echo "Test 02m(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 1" 1>&2
errors=`expr $errors + 1`
else
cmp 02m.O $srcdir/02m.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 02m(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 02m(_POSIX2_VERSION=199209) failed: files 02m.O and $srcdir/02m.X differ" 1>&2
(diff -c 02m.O $srcdir/02m.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 02m(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 02m.O $srcdir/02m.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 02m.E || rm -f 02m.E
_POSIX2_VERSION=199209 $xx -cu $srcdir/02n.I > 02n.O 2> 02n.E
code=$?
if test $code != 0; then
$echo "Test 02n(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 02n.O $srcdir/02n.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 02n(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 02n(_POSIX2_VERSION=199209) failed: files 02n.O and $srcdir/02n.X differ" 1>&2
(diff -c 02n.O $srcdir/02n.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 02n(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 02n.O $srcdir/02n.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 02n.E || rm -f 02n.E
_POSIX2_VERSION=199209 $xx -cu $srcdir/02o.I > 02o.O 2> 02o.E
code=$?
if test $code != 1; then
$echo "Test 02o(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 1" 1>&2
errors=`expr $errors + 1`
else
cmp 02o.O $srcdir/02o.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 02o(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 02o(_POSIX2_VERSION=199209) failed: files 02o.O and $srcdir/02o.X differ" 1>&2
(diff -c 02o.O $srcdir/02o.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 02o(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 02o.O $srcdir/02o.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 02o.E || rm -f 02o.E
_POSIX2_VERSION=199209 $xx -cu $srcdir/02p.I > 02p.O 2> 02p.E
code=$?
if test $code != 1; then
$echo "Test 02p(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 1" 1>&2
errors=`expr $errors + 1`
else
cmp 02p.O $srcdir/02p.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 02p(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 02p(_POSIX2_VERSION=199209) failed: files 02p.O and $srcdir/02p.X differ" 1>&2
(diff -c 02p.O $srcdir/02p.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 02p(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 02p.O $srcdir/02p.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 02p.E || rm -f 02p.E
_POSIX2_VERSION=199209 $xx -k1 $srcdir/03a.I > 03a.O 2> 03a.E
code=$?
if test $code != 0; then
$echo "Test 03a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 03a.O $srcdir/03a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 03a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 03a(_POSIX2_VERSION=199209) failed: files 03a.O and $srcdir/03a.X differ" 1>&2
(diff -c 03a.O $srcdir/03a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 03a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 03a.O $srcdir/03a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 03a.E || rm -f 03a.E
_POSIX2_VERSION=199209 $xx -k1,1 $srcdir/03b.I > 03b.O 2> 03b.E
code=$?
if test $code != 0; then
$echo "Test 03b(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 03b.O $srcdir/03b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 03b(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 03b(_POSIX2_VERSION=199209) failed: files 03b.O and $srcdir/03b.X differ" 1>&2
(diff -c 03b.O $srcdir/03b.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 03b(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 03b.O $srcdir/03b.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 03b.E || rm -f 03b.E
_POSIX2_VERSION=199209 $xx -k1 -k2 $srcdir/03c.I > 03c.O 2> 03c.E
code=$?
if test $code != 0; then
$echo "Test 03c(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 03c.O $srcdir/03c.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 03c(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 03c(_POSIX2_VERSION=199209) failed: files 03c.O and $srcdir/03c.X differ" 1>&2
(diff -c 03c.O $srcdir/03c.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 03c(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 03c.O $srcdir/03c.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 03c.E || rm -f 03c.E
_POSIX2_VERSION=199209 $xx -k0 $srcdir/03d.I > 03d.O 2> 03d.E
code=$?
if test $code != 2; then
$echo "Test 03d(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 2" 1>&2
errors=`expr $errors + 1`
else
cmp 03d.O $srcdir/03d.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 03d(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 03d(_POSIX2_VERSION=199209) failed: files 03d.O and $srcdir/03d.X differ" 1>&2
(diff -c 03d.O $srcdir/03d.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 03d(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 03d.O $srcdir/03d.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 03d.E || rm -f 03d.E
_POSIX2_VERSION=199209 $xx -k1.0 $srcdir/03e.I > 03e.O 2> 03e.E
code=$?
if test $code != 2; then
$echo "Test 03e(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 2" 1>&2
errors=`expr $errors + 1`
else
cmp 03e.O $srcdir/03e.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 03e(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 03e(_POSIX2_VERSION=199209) failed: files 03e.O and $srcdir/03e.X differ" 1>&2
(diff -c 03e.O $srcdir/03e.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 03e(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 03e.O $srcdir/03e.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 03e.E || rm -f 03e.E
_POSIX2_VERSION=199209 $xx -k1.1,-k0 $srcdir/03f.I > 03f.O 2> 03f.E
code=$?
if test $code != 2; then
$echo "Test 03f(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 2" 1>&2
errors=`expr $errors + 1`
else
cmp 03f.O $srcdir/03f.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 03f(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 03f(_POSIX2_VERSION=199209) failed: files 03f.O and $srcdir/03f.X differ" 1>&2
(diff -c 03f.O $srcdir/03f.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 03f(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 03f.O $srcdir/03f.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 03f.E || rm -f 03f.E
_POSIX2_VERSION=199209 $xx -k1.1,1.0 $srcdir/03g.I > 03g.O 2> 03g.E
code=$?
if test $code != 0; then
$echo "Test 03g(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 03g.O $srcdir/03g.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 03g(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 03g(_POSIX2_VERSION=199209) failed: files 03g.O and $srcdir/03g.X differ" 1>&2
(diff -c 03g.O $srcdir/03g.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 03g(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 03g.O $srcdir/03g.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 03g.E || rm -f 03g.E
_POSIX2_VERSION=199209 $xx -k1.1,1 $srcdir/03h.I > 03h.O 2> 03h.E
code=$?
if test $code != 0; then
$echo "Test 03h(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 03h.O $srcdir/03h.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 03h(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 03h(_POSIX2_VERSION=199209) failed: files 03h.O and $srcdir/03h.X differ" 1>&2
(diff -c 03h.O $srcdir/03h.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 03h(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 03h.O $srcdir/03h.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 03h.E || rm -f 03h.E
_POSIX2_VERSION=199209 $xx -k1,1 $srcdir/03i.I > 03i.O 2> 03i.E
code=$?
if test $code != 0; then
$echo "Test 03i(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 03i.O $srcdir/03i.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 03i(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 03i(_POSIX2_VERSION=199209) failed: files 03i.O and $srcdir/03i.X differ" 1>&2
(diff -c 03i.O $srcdir/03i.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 03i(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 03i.O $srcdir/03i.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 03i.E || rm -f 03i.E
_POSIX2_VERSION=199209 $xx -nc $srcdir/04a.I > 04a.O 2> 04a.E
code=$?
if test $code != 0; then
$echo "Test 04a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 04a.O $srcdir/04a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 04a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 04a(_POSIX2_VERSION=199209) failed: files 04a.O and $srcdir/04a.X differ" 1>&2
(diff -c 04a.O $srcdir/04a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 04a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 04a.O $srcdir/04a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 04a.E || rm -f 04a.E
_POSIX2_VERSION=199209 $xx -n $srcdir/04b.I > 04b.O 2> 04b.E
code=$?
if test $code != 0; then
$echo "Test 04b(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 04b.O $srcdir/04b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 04b(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 04b(_POSIX2_VERSION=199209) failed: files 04b.O and $srcdir/04b.X differ" 1>&2
(diff -c 04b.O $srcdir/04b.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 04b(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 04b.O $srcdir/04b.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 04b.E || rm -f 04b.E
_POSIX2_VERSION=199209 $xx -k1n $srcdir/04c.I > 04c.O 2> 04c.E
code=$?
if test $code != 0; then
$echo "Test 04c(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 04c.O $srcdir/04c.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 04c(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 04c(_POSIX2_VERSION=199209) failed: files 04c.O and $srcdir/04c.X differ" 1>&2
(diff -c 04c.O $srcdir/04c.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 04c(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 04c.O $srcdir/04c.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 04c.E || rm -f 04c.E
_POSIX2_VERSION=199209 $xx -k1 $srcdir/04d.I > 04d.O 2> 04d.E
code=$?
if test $code != 0; then
$echo "Test 04d(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 04d.O $srcdir/04d.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 04d(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 04d(_POSIX2_VERSION=199209) failed: files 04d.O and $srcdir/04d.X differ" 1>&2
(diff -c 04d.O $srcdir/04d.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 04d(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 04d.O $srcdir/04d.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 04d.E || rm -f 04d.E
_POSIX2_VERSION=199209 $xx -k2 $srcdir/04e.I > 04e.O 2> 04e.E
code=$?
if test $code != 0; then
$echo "Test 04e(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 04e.O $srcdir/04e.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 04e(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 04e(_POSIX2_VERSION=199209) failed: files 04e.O and $srcdir/04e.X differ" 1>&2
(diff -c 04e.O $srcdir/04e.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 04e(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 04e.O $srcdir/04e.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 04e.E || rm -f 04e.E
_POSIX2_VERSION=199209 $xx -k1,2 $srcdir/05a.I > 05a.O 2> 05a.E
code=$?
if test $code != 0; then
$echo "Test 05a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 05a.O $srcdir/05a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 05a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 05a(_POSIX2_VERSION=199209) failed: files 05a.O and $srcdir/05a.X differ" 1>&2
(diff -c 05a.O $srcdir/05a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 05a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 05a.O $srcdir/05a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 05a.E || rm -f 05a.E
_POSIX2_VERSION=199209 $xx -k1,2 $srcdir/05b.I > 05b.O 2> 05b.E
code=$?
if test $code != 0; then
$echo "Test 05b(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 05b.O $srcdir/05b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 05b(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 05b(_POSIX2_VERSION=199209) failed: files 05b.O and $srcdir/05b.X differ" 1>&2
(diff -c 05b.O $srcdir/05b.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 05b(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 05b.O $srcdir/05b.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 05b.E || rm -f 05b.E
_POSIX2_VERSION=199209 $xx -k1 -k2 $srcdir/05c.I > 05c.O 2> 05c.E
code=$?
if test $code != 0; then
$echo "Test 05c(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 05c.O $srcdir/05c.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 05c(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 05c(_POSIX2_VERSION=199209) failed: files 05c.O and $srcdir/05c.X differ" 1>&2
(diff -c 05c.O $srcdir/05c.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 05c(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 05c.O $srcdir/05c.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 05c.E || rm -f 05c.E
_POSIX2_VERSION=199209 $xx -k2,2 $srcdir/05d.I > 05d.O 2> 05d.E
code=$?
if test $code != 0; then
$echo "Test 05d(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 05d.O $srcdir/05d.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 05d(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 05d(_POSIX2_VERSION=199209) failed: files 05d.O and $srcdir/05d.X differ" 1>&2
(diff -c 05d.O $srcdir/05d.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 05d(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 05d.O $srcdir/05d.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 05d.E || rm -f 05d.E
_POSIX2_VERSION=199209 $xx -k2,2 $srcdir/05e.I > 05e.O 2> 05e.E
code=$?
if test $code != 0; then
$echo "Test 05e(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 05e.O $srcdir/05e.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 05e(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 05e(_POSIX2_VERSION=199209) failed: files 05e.O and $srcdir/05e.X differ" 1>&2
(diff -c 05e.O $srcdir/05e.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 05e(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 05e.O $srcdir/05e.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 05e.E || rm -f 05e.E
_POSIX2_VERSION=199209 $xx -k2,2 $srcdir/05f.I > 05f.O 2> 05f.E
code=$?
if test $code != 0; then
$echo "Test 05f(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 05f.O $srcdir/05f.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 05f(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 05f(_POSIX2_VERSION=199209) failed: files 05f.O and $srcdir/05f.X differ" 1>&2
(diff -c 05f.O $srcdir/05f.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 05f(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 05f.O $srcdir/05f.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 05f.E || rm -f 05f.E
_POSIX2_VERSION=199209 $xx -k 1,2 $srcdir/06a.I > 06a.O 2> 06a.E
code=$?
if test $code != 0; then
$echo "Test 06a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 06a.O $srcdir/06a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 06a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 06a(_POSIX2_VERSION=199209) failed: files 06a.O and $srcdir/06a.X differ" 1>&2
(diff -c 06a.O $srcdir/06a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 06a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 06a.O $srcdir/06a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 06a.E || rm -f 06a.E
_POSIX2_VERSION=199209 $xx -k 1,2 $srcdir/06b.I > 06b.O 2> 06b.E
code=$?
if test $code != 0; then
$echo "Test 06b(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 06b.O $srcdir/06b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 06b(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 06b(_POSIX2_VERSION=199209) failed: files 06b.O and $srcdir/06b.X differ" 1>&2
(diff -c 06b.O $srcdir/06b.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 06b(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 06b.O $srcdir/06b.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 06b.E || rm -f 06b.E
_POSIX2_VERSION=199209 $xx -k 1 -k 2 $srcdir/06c.I > 06c.O 2> 06c.E
code=$?
if test $code != 0; then
$echo "Test 06c(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 06c.O $srcdir/06c.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 06c(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 06c(_POSIX2_VERSION=199209) failed: files 06c.O and $srcdir/06c.X differ" 1>&2
(diff -c 06c.O $srcdir/06c.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 06c(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 06c.O $srcdir/06c.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 06c.E || rm -f 06c.E
_POSIX2_VERSION=199209 $xx -k 2,2 $srcdir/06d.I > 06d.O 2> 06d.E
code=$?
if test $code != 0; then
$echo "Test 06d(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 06d.O $srcdir/06d.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 06d(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 06d(_POSIX2_VERSION=199209) failed: files 06d.O and $srcdir/06d.X differ" 1>&2
(diff -c 06d.O $srcdir/06d.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 06d(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 06d.O $srcdir/06d.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 06d.E || rm -f 06d.E
_POSIX2_VERSION=199209 $xx -k 2,2 $srcdir/06e.I > 06e.O 2> 06e.E
code=$?
if test $code != 0; then
$echo "Test 06e(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 06e.O $srcdir/06e.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 06e(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 06e(_POSIX2_VERSION=199209) failed: files 06e.O and $srcdir/06e.X differ" 1>&2
(diff -c 06e.O $srcdir/06e.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 06e(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 06e.O $srcdir/06e.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 06e.E || rm -f 06e.E
_POSIX2_VERSION=199209 $xx -k 2,2 $srcdir/06f.I > 06f.O 2> 06f.E
code=$?
if test $code != 0; then
$echo "Test 06f(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 06f.O $srcdir/06f.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 06f(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 06f(_POSIX2_VERSION=199209) failed: files 06f.O and $srcdir/06f.X differ" 1>&2
(diff -c 06f.O $srcdir/06f.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 06f(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 06f.O $srcdir/06f.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 06f.E || rm -f 06f.E
_POSIX2_VERSION=199209 $xx -k 2,3 $srcdir/07a.I > 07a.O 2> 07a.E
code=$?
if test $code != 0; then
$echo "Test 07a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 07a.O $srcdir/07a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 07a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 07a(_POSIX2_VERSION=199209) failed: files 07a.O and $srcdir/07a.X differ" 1>&2
(diff -c 07a.O $srcdir/07a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 07a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 07a.O $srcdir/07a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 07a.E || rm -f 07a.E
_POSIX2_VERSION=199209 $xx -k 2,3 $srcdir/07b.I > 07b.O 2> 07b.E
code=$?
if test $code != 0; then
$echo "Test 07b(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 07b.O $srcdir/07b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 07b(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 07b(_POSIX2_VERSION=199209) failed: files 07b.O and $srcdir/07b.X differ" 1>&2
(diff -c 07b.O $srcdir/07b.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 07b(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 07b.O $srcdir/07b.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 07b.E || rm -f 07b.E
_POSIX2_VERSION=199209 $xx -k 2,3 $srcdir/07c.I > 07c.O 2> 07c.E
code=$?
if test $code != 0; then
$echo "Test 07c(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 07c.O $srcdir/07c.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 07c(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 07c(_POSIX2_VERSION=199209) failed: files 07c.O and $srcdir/07c.X differ" 1>&2
(diff -c 07c.O $srcdir/07c.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 07c(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 07c.O $srcdir/07c.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 07c.E || rm -f 07c.E
_POSIX2_VERSION=199209 $xx +1 -3 $srcdir/07d.I > 07d.O 2> 07d.E
code=$?
if test $code != 0; then
$echo "Test 07d(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 07d.O $srcdir/07d.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 07d(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 07d(_POSIX2_VERSION=199209) failed: files 07d.O and $srcdir/07d.X differ" 1>&2
(diff -c 07d.O $srcdir/07d.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 07d(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 07d.O $srcdir/07d.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 07d.E || rm -f 07d.E
_POSIX2_VERSION=199209 $xx -k 2.,3 $srcdir/08a.I > 08a.O 2> 08a.E
code=$?
if test $code != 2; then
$echo "Test 08a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 2" 1>&2
errors=`expr $errors + 1`
else
cmp 08a.O $srcdir/08a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 08a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 08a(_POSIX2_VERSION=199209) failed: files 08a.O and $srcdir/08a.X differ" 1>&2
(diff -c 08a.O $srcdir/08a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 08a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 08a.O $srcdir/08a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 08a.E || rm -f 08a.E
_POSIX2_VERSION=199209 $xx -k 2, $srcdir/08b.I > 08b.O 2> 08b.E
code=$?
if test $code != 2; then
$echo "Test 08b(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 2" 1>&2
errors=`expr $errors + 1`
else
cmp 08b.O $srcdir/08b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 08b(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 08b(_POSIX2_VERSION=199209) failed: files 08b.O and $srcdir/08b.X differ" 1>&2
(diff -c 08b.O $srcdir/08b.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 08b(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 08b.O $srcdir/08b.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 08b.E || rm -f 08b.E
_POSIX2_VERSION=199209 $xx -g $srcdir/09a.I > 09a.O 2> 09a.E
code=$?
if test $code != 0; then
$echo "Test 09a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 09a.O $srcdir/09a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 09a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 09a(_POSIX2_VERSION=199209) failed: files 09a.O and $srcdir/09a.X differ" 1>&2
(diff -c 09a.O $srcdir/09a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 09a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 09a.O $srcdir/09a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 09a.E || rm -f 09a.E
_POSIX2_VERSION=199209 $xx -n $srcdir/09b.I > 09b.O 2> 09b.E
code=$?
if test $code != 0; then
$echo "Test 09b(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 09b.O $srcdir/09b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 09b(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 09b(_POSIX2_VERSION=199209) failed: files 09b.O and $srcdir/09b.X differ" 1>&2
(diff -c 09b.O $srcdir/09b.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 09b(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 09b.O $srcdir/09b.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 09b.E || rm -f 09b.E
_POSIX2_VERSION=199209 $xx -n $srcdir/09c.I > 09c.O 2> 09c.E
code=$?
if test $code != 0; then
$echo "Test 09c(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 09c.O $srcdir/09c.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 09c(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 09c(_POSIX2_VERSION=199209) failed: files 09c.O and $srcdir/09c.X differ" 1>&2
(diff -c 09c.O $srcdir/09c.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 09c(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 09c.O $srcdir/09c.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 09c.E || rm -f 09c.E
_POSIX2_VERSION=199209 $xx -k2g $srcdir/09d.I > 09d.O 2> 09d.E
code=$?
if test $code != 0; then
$echo "Test 09d(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 09d.O $srcdir/09d.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 09d(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 09d(_POSIX2_VERSION=199209) failed: files 09d.O and $srcdir/09d.X differ" 1>&2
(diff -c 09d.O $srcdir/09d.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 09d(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 09d.O $srcdir/09d.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 09d.E || rm -f 09d.E
_POSIX2_VERSION=199209 $xx -t : -k 2.2,2.2 $srcdir/10a.I > 10a.O 2> 10a.E
code=$?
if test $code != 0; then
$echo "Test 10a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 10a.O $srcdir/10a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 10a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 10a(_POSIX2_VERSION=199209) failed: files 10a.O and $srcdir/10a.X differ" 1>&2
(diff -c 10a.O $srcdir/10a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 10a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 10a.O $srcdir/10a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 10a.E || rm -f 10a.E
_POSIX2_VERSION=199209 $xx -t : +1.1 -1.2 $srcdir/10b.I > 10b.O 2> 10b.E
code=$?
if test $code != 0; then
$echo "Test 10b(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 10b.O $srcdir/10b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 10b(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 10b(_POSIX2_VERSION=199209) failed: files 10b.O and $srcdir/10b.X differ" 1>&2
(diff -c 10b.O $srcdir/10b.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 10b(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 10b.O $srcdir/10b.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 10b.E || rm -f 10b.E
_POSIX2_VERSION=199209 $xx -t : -k 2.2,2.2 $srcdir/10c.I > 10c.O 2> 10c.E
code=$?
if test $code != 0; then
$echo "Test 10c(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 10c.O $srcdir/10c.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 10c(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 10c(_POSIX2_VERSION=199209) failed: files 10c.O and $srcdir/10c.X differ" 1>&2
(diff -c 10c.O $srcdir/10c.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 10c(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 10c.O $srcdir/10c.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 10c.E || rm -f 10c.E
_POSIX2_VERSION=199209 $xx -t : +1.1 -1.2 $srcdir/10d.I > 10d.O 2> 10d.E
code=$?
if test $code != 0; then
$echo "Test 10d(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 10d.O $srcdir/10d.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 10d(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 10d(_POSIX2_VERSION=199209) failed: files 10d.O and $srcdir/10d.X differ" 1>&2
(diff -c 10d.O $srcdir/10d.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 10d(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 10d.O $srcdir/10d.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 10d.E || rm -f 10d.E
_POSIX2_VERSION=199209 $xx -k 2.3,2.3 $srcdir/10a0.I > 10a0.O 2> 10a0.E
code=$?
if test $code != 0; then
$echo "Test 10a0(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 10a0.O $srcdir/10a0.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 10a0(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 10a0(_POSIX2_VERSION=199209) failed: files 10a0.O and $srcdir/10a0.X differ" 1>&2
(diff -c 10a0.O $srcdir/10a0.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 10a0(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 10a0.O $srcdir/10a0.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 10a0.E || rm -f 10a0.E
_POSIX2_VERSION=199209 $xx -k 1.2,1.2 $srcdir/10a1.I > 10a1.O 2> 10a1.E
code=$?
if test $code != 0; then
$echo "Test 10a1(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 10a1.O $srcdir/10a1.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 10a1(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 10a1(_POSIX2_VERSION=199209) failed: files 10a1.O and $srcdir/10a1.X differ" 1>&2
(diff -c 10a1.O $srcdir/10a1.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 10a1(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 10a1.O $srcdir/10a1.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 10a1.E || rm -f 10a1.E
_POSIX2_VERSION=199209 $xx -b -k 2.2,2.2 $srcdir/10a2.I > 10a2.O 2> 10a2.E
code=$?
if test $code != 0; then
$echo "Test 10a2(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 10a2.O $srcdir/10a2.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 10a2(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 10a2(_POSIX2_VERSION=199209) failed: files 10a2.O and $srcdir/10a2.X differ" 1>&2
(diff -c 10a2.O $srcdir/10a2.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 10a2(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 10a2.O $srcdir/10a2.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 10a2.E || rm -f 10a2.E
_POSIX2_VERSION=199209 $xx -k 1.2,1.2 $srcdir/10e.I > 10e.O 2> 10e.E
code=$?
if test $code != 0; then
$echo "Test 10e(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 10e.O $srcdir/10e.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 10e(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 10e(_POSIX2_VERSION=199209) failed: files 10e.O and $srcdir/10e.X differ" 1>&2
(diff -c 10e.O $srcdir/10e.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 10e(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 10e.O $srcdir/10e.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 10e.E || rm -f 10e.E
_POSIX2_VERSION=199209 $xx -t : -k 1.3,1.3 $srcdir/10f.I > 10f.O 2> 10f.E
code=$?
if test $code != 0; then
$echo "Test 10f(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 10f.O $srcdir/10f.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 10f(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 10f(_POSIX2_VERSION=199209) failed: files 10f.O and $srcdir/10f.X differ" 1>&2
(diff -c 10f.O $srcdir/10f.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 10f(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 10f.O $srcdir/10f.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 10f.E || rm -f 10f.E
_POSIX2_VERSION=199209 $xx -k 1.4,1.4 $srcdir/10g.I > 10g.O 2> 10g.E
code=$?
if test $code != 0; then
$echo "Test 10g(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 10g.O $srcdir/10g.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 10g(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 10g(_POSIX2_VERSION=199209) failed: files 10g.O and $srcdir/10g.X differ" 1>&2
(diff -c 10g.O $srcdir/10g.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 10g(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 10g.O $srcdir/10g.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 10g.E || rm -f 10g.E
_POSIX2_VERSION=199209 $xx -t: -k1,1b -k2,2 $srcdir/11a.I > 11a.O 2> 11a.E
code=$?
if test $code != 0; then
$echo "Test 11a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 11a.O $srcdir/11a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 11a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 11a(_POSIX2_VERSION=199209) failed: files 11a.O and $srcdir/11a.X differ" 1>&2
(diff -c 11a.O $srcdir/11a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 11a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 11a.O $srcdir/11a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 11a.E || rm -f 11a.E
_POSIX2_VERSION=199209 $xx -t: -k1,1b -k2,2 $srcdir/11b.I > 11b.O 2> 11b.E
code=$?
if test $code != 0; then
$echo "Test 11b(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 11b.O $srcdir/11b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 11b(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 11b(_POSIX2_VERSION=199209) failed: files 11b.O and $srcdir/11b.X differ" 1>&2
(diff -c 11b.O $srcdir/11b.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 11b(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 11b.O $srcdir/11b.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 11b.E || rm -f 11b.E
_POSIX2_VERSION=199209 $xx -t: -k2,2b -k3,3 $srcdir/11c.I > 11c.O 2> 11c.E
code=$?
if test $code != 0; then
$echo "Test 11c(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 11c.O $srcdir/11c.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 11c(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 11c(_POSIX2_VERSION=199209) failed: files 11c.O and $srcdir/11c.X differ" 1>&2
(diff -c 11c.O $srcdir/11c.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 11c(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 11c.O $srcdir/11c.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 11c.E || rm -f 11c.E
_POSIX2_VERSION=199209 $xx -t: -k2,2b -k3,3 $srcdir/11d.I > 11d.O 2> 11d.E
code=$?
if test $code != 0; then
$echo "Test 11d(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 11d.O $srcdir/11d.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 11d(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 11d(_POSIX2_VERSION=199209) failed: files 11d.O and $srcdir/11d.X differ" 1>&2
(diff -c 11d.O $srcdir/11d.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 11d(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 11d.O $srcdir/11d.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 11d.E || rm -f 11d.E
_POSIX2_VERSION=199209 $xx -n -t: +1 $srcdir/12a.I > 12a.O 2> 12a.E
code=$?
if test $code != 0; then
$echo "Test 12a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 12a.O $srcdir/12a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 12a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 12a(_POSIX2_VERSION=199209) failed: files 12a.O and $srcdir/12a.X differ" 1>&2
(diff -c 12a.O $srcdir/12a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 12a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 12a.O $srcdir/12a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 12a.E || rm -f 12a.E
_POSIX2_VERSION=199209 $xx -n -t: +1 $srcdir/12b.I > 12b.O 2> 12b.E
code=$?
if test $code != 0; then
$echo "Test 12b(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 12b.O $srcdir/12b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 12b(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 12b(_POSIX2_VERSION=199209) failed: files 12b.O and $srcdir/12b.X differ" 1>&2
(diff -c 12b.O $srcdir/12b.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 12b(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 12b.O $srcdir/12b.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 12b.E || rm -f 12b.E
_POSIX2_VERSION=199209 $xx -n -t: +1 $srcdir/12c.I > 12c.O 2> 12c.E
code=$?
if test $code != 0; then
$echo "Test 12c(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 12c.O $srcdir/12c.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 12c(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 12c(_POSIX2_VERSION=199209) failed: files 12c.O and $srcdir/12c.X differ" 1>&2
(diff -c 12c.O $srcdir/12c.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 12c(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 12c.O $srcdir/12c.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 12c.E || rm -f 12c.E
_POSIX2_VERSION=199209 $xx -n -t: +1 $srcdir/12d.I > 12d.O 2> 12d.E
code=$?
if test $code != 0; then
$echo "Test 12d(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 12d.O $srcdir/12d.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 12d(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 12d(_POSIX2_VERSION=199209) failed: files 12d.O and $srcdir/12d.X differ" 1>&2
(diff -c 12d.O $srcdir/12d.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 12d(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 12d.O $srcdir/12d.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 12d.E || rm -f 12d.E
_POSIX2_VERSION=199209 $xx +0.1n $srcdir/13a.I > 13a.O 2> 13a.E
code=$?
if test $code != 0; then
$echo "Test 13a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 13a.O $srcdir/13a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 13a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 13a(_POSIX2_VERSION=199209) failed: files 13a.O and $srcdir/13a.X differ" 1>&2
(diff -c 13a.O $srcdir/13a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 13a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 13a.O $srcdir/13a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 13a.E || rm -f 13a.E
_POSIX2_VERSION=199209 $xx +0.1n $srcdir/13b.I > 13b.O 2> 13b.E
code=$?
if test $code != 0; then
$echo "Test 13b(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 13b.O $srcdir/13b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 13b(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 13b(_POSIX2_VERSION=199209) failed: files 13b.O and $srcdir/13b.X differ" 1>&2
(diff -c 13b.O $srcdir/13b.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 13b(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 13b.O $srcdir/13b.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 13b.E || rm -f 13b.E
_POSIX2_VERSION=199209 $xx -d -u $srcdir/14a.I > 14a.O 2> 14a.E
code=$?
if test $code != 0; then
$echo "Test 14a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 14a.O $srcdir/14a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 14a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 14a(_POSIX2_VERSION=199209) failed: files 14a.O and $srcdir/14a.X differ" 1>&2
(diff -c 14a.O $srcdir/14a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 14a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 14a.O $srcdir/14a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 14a.E || rm -f 14a.E
_POSIX2_VERSION=199209 $xx -f -d -u $srcdir/14b.I > 14b.O 2> 14b.E
code=$?
if test $code != 0; then
$echo "Test 14b(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 14b.O $srcdir/14b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 14b(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 14b(_POSIX2_VERSION=199209) failed: files 14b.O and $srcdir/14b.X differ" 1>&2
(diff -c 14b.O $srcdir/14b.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 14b(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 14b.O $srcdir/14b.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 14b.E || rm -f 14b.E
_POSIX2_VERSION=199209 $xx -i -u $srcdir/15a.I > 15a.O 2> 15a.E
code=$?
if test $code != 0; then
$echo "Test 15a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 15a.O $srcdir/15a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 15a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 15a(_POSIX2_VERSION=199209) failed: files 15a.O and $srcdir/15a.X differ" 1>&2
(diff -c 15a.O $srcdir/15a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 15a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 15a.O $srcdir/15a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 15a.E || rm -f 15a.E
_POSIX2_VERSION=199209 $xx -i -u $srcdir/15b.I > 15b.O 2> 15b.E
code=$?
if test $code != 0; then
$echo "Test 15b(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 15b.O $srcdir/15b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 15b(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 15b(_POSIX2_VERSION=199209) failed: files 15b.O and $srcdir/15b.X differ" 1>&2
(diff -c 15b.O $srcdir/15b.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 15b(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 15b.O $srcdir/15b.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 15b.E || rm -f 15b.E
_POSIX2_VERSION=199209 $xx -i -u $srcdir/15c.I > 15c.O 2> 15c.E
code=$?
if test $code != 0; then
$echo "Test 15c(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 15c.O $srcdir/15c.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 15c(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 15c(_POSIX2_VERSION=199209) failed: files 15c.O and $srcdir/15c.X differ" 1>&2
(diff -c 15c.O $srcdir/15c.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 15c(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 15c.O $srcdir/15c.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 15c.E || rm -f 15c.E
_POSIX2_VERSION=199209 $xx -i -u $srcdir/15d.I > 15d.O 2> 15d.E
code=$?
if test $code != 0; then
$echo "Test 15d(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 15d.O $srcdir/15d.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 15d(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 15d(_POSIX2_VERSION=199209) failed: files 15d.O and $srcdir/15d.X differ" 1>&2
(diff -c 15d.O $srcdir/15d.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 15d(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 15d.O $srcdir/15d.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 15d.E || rm -f 15d.E
_POSIX2_VERSION=199209 $xx -i -u $srcdir/15e.I > 15e.O 2> 15e.E
code=$?
if test $code != 0; then
$echo "Test 15e(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 15e.O $srcdir/15e.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 15e(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 15e(_POSIX2_VERSION=199209) failed: files 15e.O and $srcdir/15e.X differ" 1>&2
(diff -c 15e.O $srcdir/15e.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 15e(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 15e.O $srcdir/15e.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 15e.E || rm -f 15e.E
_POSIX2_VERSION=199209 $xx -f $srcdir/16a.I > 16a.O 2> 16a.E
code=$?
if test $code != 0; then
$echo "Test 16a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 16a.O $srcdir/16a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 16a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 16a(_POSIX2_VERSION=199209) failed: files 16a.O and $srcdir/16a.X differ" 1>&2
(diff -c 16a.O $srcdir/16a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 16a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 16a.O $srcdir/16a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 16a.E || rm -f 16a.E
_POSIX2_VERSION=199209 $xx -c $srcdir/17.I > 17.O 2> 17.E
code=$?
if test $code != 0; then
$echo "Test 17(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 17.O $srcdir/17.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 17(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 17(_POSIX2_VERSION=199209) failed: files 17.O and $srcdir/17.X differ" 1>&2
(diff -c 17.O $srcdir/17.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 17(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 17.O $srcdir/17.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 17.E || rm -f 17.E
_POSIX2_VERSION=199209 $xx -k1.1,1.2n $srcdir/18a.I > 18a.O 2> 18a.E
code=$?
if test $code != 0; then
$echo "Test 18a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 18a.O $srcdir/18a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 18a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 18a(_POSIX2_VERSION=199209) failed: files 18a.O and $srcdir/18a.X differ" 1>&2
(diff -c 18a.O $srcdir/18a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 18a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 18a.O $srcdir/18a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 18a.E || rm -f 18a.E
_POSIX2_VERSION=199209 $xx -b -k1.1,1.2n $srcdir/18b.I > 18b.O 2> 18b.E
code=$?
if test $code != 0; then
$echo "Test 18b(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 18b.O $srcdir/18b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 18b(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 18b(_POSIX2_VERSION=199209) failed: files 18b.O and $srcdir/18b.X differ" 1>&2
(diff -c 18b.O $srcdir/18b.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 18b(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 18b.O $srcdir/18b.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 18b.E || rm -f 18b.E
_POSIX2_VERSION=199209 $xx -k1.1,1.2nb $srcdir/18c.I > 18c.O 2> 18c.E
code=$?
if test $code != 0; then
$echo "Test 18c(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 18c.O $srcdir/18c.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 18c(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 18c(_POSIX2_VERSION=199209) failed: files 18c.O and $srcdir/18c.X differ" 1>&2
(diff -c 18c.O $srcdir/18c.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 18c(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 18c.O $srcdir/18c.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 18c.E || rm -f 18c.E
_POSIX2_VERSION=199209 $xx -k1.1b,1.2n $srcdir/18d.I > 18d.O 2> 18d.E
code=$?
if test $code != 0; then
$echo "Test 18d(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 18d.O $srcdir/18d.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 18d(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 18d(_POSIX2_VERSION=199209) failed: files 18d.O and $srcdir/18d.X differ" 1>&2
(diff -c 18d.O $srcdir/18d.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 18d(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 18d.O $srcdir/18d.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 18d.E || rm -f 18d.E
_POSIX2_VERSION=199209 $xx -nb -k1.1,1.2 $srcdir/18e.I > 18e.O 2> 18e.E
code=$?
if test $code != 0; then
$echo "Test 18e(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 18e.O $srcdir/18e.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 18e(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 18e(_POSIX2_VERSION=199209) failed: files 18e.O and $srcdir/18e.X differ" 1>&2
(diff -c 18e.O $srcdir/18e.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 18e(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 18e.O $srcdir/18e.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 18e.E || rm -f 18e.E
_POSIX2_VERSION=199209 $xx +0 +1nr $srcdir/19a.I > 19a.O 2> 19a.E
code=$?
if test $code != 0; then
$echo "Test 19a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 19a.O $srcdir/19a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 19a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 19a(_POSIX2_VERSION=199209) failed: files 19a.O and $srcdir/19a.X differ" 1>&2
(diff -c 19a.O $srcdir/19a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 19a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 19a.O $srcdir/19a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 19a.E || rm -f 19a.E
_POSIX2_VERSION=199209 $xx -k1,1 -k2nr $srcdir/19b.I > 19b.O 2> 19b.E
code=$?
if test $code != 0; then
$echo "Test 19b(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 19b.O $srcdir/19b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 19b(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 19b(_POSIX2_VERSION=199209) failed: files 19b.O and $srcdir/19b.X differ" 1>&2
(diff -c 19b.O $srcdir/19b.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 19b(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 19b.O $srcdir/19b.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 19b.E || rm -f 19b.E
_POSIX2_VERSION=199209 $xx $srcdir/20a.I > 20a.O 2> 20a.E
code=$?
if test $code != 0; then
$echo "Test 20a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 20a.O $srcdir/20a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 20a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 20a(_POSIX2_VERSION=199209) failed: files 20a.O and $srcdir/20a.X differ" 1>&2
(diff -c 20a.O $srcdir/20a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 20a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 20a.O $srcdir/20a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 20a.E || rm -f 20a.E
_POSIX2_VERSION=199209 $xx $srcdir/21a.I > 21a.O 2> 21a.E
code=$?
if test $code != 0; then
$echo "Test 21a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 21a.O $srcdir/21a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 21a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 21a(_POSIX2_VERSION=199209) failed: files 21a.O and $srcdir/21a.X differ" 1>&2
(diff -c 21a.O $srcdir/21a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 21a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 21a.O $srcdir/21a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 21a.E || rm -f 21a.E
_POSIX2_VERSION=199209 $xx -f $srcdir/21b.I > 21b.O 2> 21b.E
code=$?
if test $code != 0; then
$echo "Test 21b(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 21b.O $srcdir/21b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 21b(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 21b(_POSIX2_VERSION=199209) failed: files 21b.O and $srcdir/21b.X differ" 1>&2
(diff -c 21b.O $srcdir/21b.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 21b(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 21b.O $srcdir/21b.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 21b.E || rm -f 21b.E
_POSIX2_VERSION=199209 $xx -f $srcdir/21c.I > 21c.O 2> 21c.E
code=$?
if test $code != 0; then
$echo "Test 21c(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 21c.O $srcdir/21c.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 21c(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 21c(_POSIX2_VERSION=199209) failed: files 21c.O and $srcdir/21c.X differ" 1>&2
(diff -c 21c.O $srcdir/21c.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 21c(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 21c.O $srcdir/21c.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 21c.E || rm -f 21c.E
_POSIX2_VERSION=199209 $xx -f $srcdir/21d.I > 21d.O 2> 21d.E
code=$?
if test $code != 0; then
$echo "Test 21d(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 21d.O $srcdir/21d.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 21d(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 21d(_POSIX2_VERSION=199209) failed: files 21d.O and $srcdir/21d.X differ" 1>&2
(diff -c 21d.O $srcdir/21d.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 21d(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 21d.O $srcdir/21d.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 21d.E || rm -f 21d.E
_POSIX2_VERSION=199209 $xx -f $srcdir/21e.I > 21e.O 2> 21e.E
code=$?
if test $code != 0; then
$echo "Test 21e(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 21e.O $srcdir/21e.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 21e(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 21e(_POSIX2_VERSION=199209) failed: files 21e.O and $srcdir/21e.X differ" 1>&2
(diff -c 21e.O $srcdir/21e.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 21e(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 21e.O $srcdir/21e.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 21e.E || rm -f 21e.E
_POSIX2_VERSION=199209 $xx -fs $srcdir/21f.I > 21f.O 2> 21f.E
code=$?
if test $code != 0; then
$echo "Test 21f(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 21f.O $srcdir/21f.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 21f(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 21f(_POSIX2_VERSION=199209) failed: files 21f.O and $srcdir/21f.X differ" 1>&2
(diff -c 21f.O $srcdir/21f.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 21f(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 21f.O $srcdir/21f.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 21f.E || rm -f 21f.E
_POSIX2_VERSION=199209 $xx -fu $srcdir/21g.I > 21g.O 2> 21g.E
code=$?
if test $code != 0; then
$echo "Test 21g(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 21g.O $srcdir/21g.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 21g(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 21g(_POSIX2_VERSION=199209) failed: files 21g.O and $srcdir/21g.X differ" 1>&2
(diff -c 21g.O $srcdir/21g.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 21g(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 21g.O $srcdir/21g.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 21g.E || rm -f 21g.E
_POSIX2_VERSION=199209 $xx -k 2,2fd -k 1,1r $srcdir/22a.I > 22a.O 2> 22a.E
code=$?
if test $code != 0; then
$echo "Test 22a(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 22a.O $srcdir/22a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 22a(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 22a(_POSIX2_VERSION=199209) failed: files 22a.O and $srcdir/22a.X differ" 1>&2
(diff -c 22a.O $srcdir/22a.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 22a(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 22a.O $srcdir/22a.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 22a.E || rm -f 22a.E
_POSIX2_VERSION=199209 $xx -k 2,2d -k 1,1r $srcdir/22b.I > 22b.O 2> 22b.E
code=$?
if test $code != 0; then
$echo "Test 22b(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 22b.O $srcdir/22b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed 22b(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test 22b(_POSIX2_VERSION=199209) failed: files 22b.O and $srcdir/22b.X differ" 1>&2
(diff -c 22b.O $srcdir/22b.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test 22b(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp 22b.O $srcdir/22b.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s 22b.E || rm -f 22b.E
_POSIX2_VERSION=199209 $xx no-file > no-file1.O 2> no-file1.E
code=$?
if test $code != 2; then
$echo "Test no-file1(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 2" 1>&2
errors=`expr $errors + 1`
else
cmp no-file1.O $srcdir/no-file1.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed no-file1(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test no-file1(_POSIX2_VERSION=199209) failed: files no-file1.O and $srcdir/no-file1.X differ" 1>&2
(diff -c no-file1.O $srcdir/no-file1.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test no-file1(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp no-file1.O $srcdir/no-file1.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s no-file1.E || rm -f no-file1.E
_POSIX2_VERSION=199209 $xx -o no-such-file no-such-file > o-no-file1.O 2> o-no-file1.E
code=$?
if test $code != 2; then
$echo "Test o-no-file1(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 2" 1>&2
errors=`expr $errors + 1`
else
cmp o-no-file1.O $srcdir/o-no-file1.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed o-no-file1(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test o-no-file1(_POSIX2_VERSION=199209) failed: files o-no-file1.O and $srcdir/o-no-file1.X differ" 1>&2
(diff -c o-no-file1.O $srcdir/o-no-file1.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test o-no-file1(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp o-no-file1.O $srcdir/o-no-file1.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s o-no-file1.E || rm -f o-no-file1.E
_POSIX2_VERSION=199209 $xx -o no/such/file /dev/null > create-empty.O 2> create-empty.E
code=$?
if test $code != 2; then
$echo "Test create-empty(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 2" 1>&2
errors=`expr $errors + 1`
else
cmp create-empty.O $srcdir/create-empty.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed create-empty(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test create-empty(_POSIX2_VERSION=199209) failed: files create-empty.O and $srcdir/create-empty.X differ" 1>&2
(diff -c create-empty.O $srcdir/create-empty.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test create-empty(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp create-empty.O $srcdir/create-empty.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s create-empty.E || rm -f create-empty.E
_POSIX2_VERSION=199209 $xx -n $srcdir/neg-nls.I > neg-nls.O 2> neg-nls.E
code=$?
if test $code != 0; then
$echo "Test neg-nls(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp neg-nls.O $srcdir/neg-nls.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed neg-nls(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test neg-nls(_POSIX2_VERSION=199209) failed: files neg-nls.O and $srcdir/neg-nls.X differ" 1>&2
(diff -c neg-nls.O $srcdir/neg-nls.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test neg-nls(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp neg-nls.O $srcdir/neg-nls.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s neg-nls.E || rm -f neg-nls.E
_POSIX2_VERSION=199209 $xx $srcdir/nul-nls.I > nul-nls.O 2> nul-nls.E
code=$?
if test $code != 0; then
$echo "Test nul-nls(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp nul-nls.O $srcdir/nul-nls.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed nul-nls(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test nul-nls(_POSIX2_VERSION=199209) failed: files nul-nls.O and $srcdir/nul-nls.X differ" 1>&2
(diff -c nul-nls.O $srcdir/nul-nls.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test nul-nls(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp nul-nls.O $srcdir/nul-nls.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s nul-nls.E || rm -f nul-nls.E
_POSIX2_VERSION=199209 $xx $srcdir/use-nl.I > use-nl.O 2> use-nl.E
code=$?
if test $code != 0; then
$echo "Test use-nl(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp use-nl.O $srcdir/use-nl.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed use-nl(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test use-nl(_POSIX2_VERSION=199209) failed: files use-nl.O and $srcdir/use-nl.X differ" 1>&2
(diff -c use-nl.O $srcdir/use-nl.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test use-nl(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp use-nl.O $srcdir/use-nl.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s use-nl.E || rm -f use-nl.E
_POSIX2_VERSION=199209 $xx -o x -o y $srcdir/o2.I > o2.O 2> o2.E
code=$?
if test $code != 2; then
$echo "Test o2(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 2" 1>&2
errors=`expr $errors + 1`
else
cmp o2.O $srcdir/o2.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed o2(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test o2(_POSIX2_VERSION=199209) failed: files o2.O and $srcdir/o2.X differ" 1>&2
(diff -c o2.O $srcdir/o2.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test o2(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp o2.O $srcdir/o2.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s o2.E || rm -f o2.E
_POSIX2_VERSION=199209 $xx -k2,2 -t '\0' $srcdir/nul-tab.I > nul-tab.O 2> nul-tab.E
code=$?
if test $code != 0; then
$echo "Test nul-tab(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp nul-tab.O $srcdir/nul-tab.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE"; then $echo "passed nul-tab(_POSIX2_VERSION=199209)"; fi;;
1) $echo "Test nul-tab(_POSIX2_VERSION=199209) failed: files nul-tab.O and $srcdir/nul-tab.X differ" 1>&2
(diff -c nul-tab.O $srcdir/nul-tab.X) 2> /dev/null
errors=`expr $errors + 1`;;
2) $echo "Test nul-tab(_POSIX2_VERSION=199209) may have failed." 1>&2
$echo The command "cmp nul-tab.O $srcdir/nul-tab.X" failed. 1>&2
errors=`expr $errors + 1`;;
esac
fi
test -s nul-tab.E || rm -f nul-tab.E
if test $errors = 0; then
$echo Passed all 113 tests. 1>&2
else
$echo Failed $errors tests. 1>&2
fi
test $errors = 0 || errors=1
exit $errors
|