diff options
Diffstat (limited to 'tests/sort')
245 files changed, 3853 insertions, 0 deletions
diff --git a/tests/sort/01a.I b/tests/sort/01a.I new file mode 100644 index 0000000..b1e6722 --- /dev/null +++ b/tests/sort/01a.I @@ -0,0 +1,3 @@ +A +B +C diff --git a/tests/sort/01a.X b/tests/sort/01a.X new file mode 100644 index 0000000..b1e6722 --- /dev/null +++ b/tests/sort/01a.X @@ -0,0 +1,3 @@ +A +B +C diff --git a/tests/sort/02a.I b/tests/sort/02a.I new file mode 100644 index 0000000..b1e6722 --- /dev/null +++ b/tests/sort/02a.I @@ -0,0 +1,3 @@ +A +B +C diff --git a/tests/sort/02a.X b/tests/sort/02a.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/02a.X diff --git a/tests/sort/02b.I b/tests/sort/02b.I new file mode 100644 index 0000000..531e93d --- /dev/null +++ b/tests/sort/02b.I @@ -0,0 +1,3 @@ +A +C +B diff --git a/tests/sort/02b.X b/tests/sort/02b.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/02b.X diff --git a/tests/sort/02c.I b/tests/sort/02c.I new file mode 100644 index 0000000..78ae2f1 --- /dev/null +++ b/tests/sort/02c.I @@ -0,0 +1,2 @@ +a +a b diff --git a/tests/sort/02c.X b/tests/sort/02c.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/02c.X diff --git a/tests/sort/02d.I b/tests/sort/02d.I new file mode 100644 index 0000000..b1e6722 --- /dev/null +++ b/tests/sort/02d.I @@ -0,0 +1,3 @@ +A +B +C diff --git a/tests/sort/02d.X b/tests/sort/02d.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/02d.X diff --git a/tests/sort/02e.I b/tests/sort/02e.I new file mode 100644 index 0000000..531e93d --- /dev/null +++ b/tests/sort/02e.I @@ -0,0 +1,3 @@ +A +C +B diff --git a/tests/sort/02e.X b/tests/sort/02e.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/02e.X diff --git a/tests/sort/02m.I b/tests/sort/02m.I new file mode 100644 index 0000000..67aa866 --- /dev/null +++ b/tests/sort/02m.I @@ -0,0 +1,2 @@ +A +A diff --git a/tests/sort/02m.X b/tests/sort/02m.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/02m.X diff --git a/tests/sort/02n.I b/tests/sort/02n.I new file mode 100644 index 0000000..35d242b --- /dev/null +++ b/tests/sort/02n.I @@ -0,0 +1,2 @@ +A +B diff --git a/tests/sort/02n.X b/tests/sort/02n.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/02n.X diff --git a/tests/sort/02o.I b/tests/sort/02o.I new file mode 100644 index 0000000..3042490 --- /dev/null +++ b/tests/sort/02o.I @@ -0,0 +1,3 @@ +A +B +B diff --git a/tests/sort/02o.X b/tests/sort/02o.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/02o.X diff --git a/tests/sort/02p.I b/tests/sort/02p.I new file mode 100644 index 0000000..0809b0a --- /dev/null +++ b/tests/sort/02p.I @@ -0,0 +1,3 @@ +B +A +B diff --git a/tests/sort/02p.X b/tests/sort/02p.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/02p.X diff --git a/tests/sort/03a.I b/tests/sort/03a.I new file mode 100644 index 0000000..dae835f --- /dev/null +++ b/tests/sort/03a.I @@ -0,0 +1,2 @@ +B +A diff --git a/tests/sort/03a.X b/tests/sort/03a.X new file mode 100644 index 0000000..35d242b --- /dev/null +++ b/tests/sort/03a.X @@ -0,0 +1,2 @@ +A +B diff --git a/tests/sort/03b.I b/tests/sort/03b.I new file mode 100644 index 0000000..dae835f --- /dev/null +++ b/tests/sort/03b.I @@ -0,0 +1,2 @@ +B +A diff --git a/tests/sort/03b.X b/tests/sort/03b.X new file mode 100644 index 0000000..35d242b --- /dev/null +++ b/tests/sort/03b.X @@ -0,0 +1,2 @@ +A +B diff --git a/tests/sort/03c.I b/tests/sort/03c.I new file mode 100644 index 0000000..1d000c9 --- /dev/null +++ b/tests/sort/03c.I @@ -0,0 +1,2 @@ +A b +A a diff --git a/tests/sort/03c.X b/tests/sort/03c.X new file mode 100644 index 0000000..0f7aef5 --- /dev/null +++ b/tests/sort/03c.X @@ -0,0 +1,2 @@ +A a +A b diff --git a/tests/sort/03d.I b/tests/sort/03d.I new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/03d.I diff --git a/tests/sort/03d.X b/tests/sort/03d.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/03d.X diff --git a/tests/sort/03e.I b/tests/sort/03e.I new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/03e.I diff --git a/tests/sort/03e.X b/tests/sort/03e.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/03e.X diff --git a/tests/sort/03f.I b/tests/sort/03f.I new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/03f.I diff --git a/tests/sort/03f.X b/tests/sort/03f.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/03f.X diff --git a/tests/sort/03g.I b/tests/sort/03g.I new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/03g.I diff --git a/tests/sort/03g.X b/tests/sort/03g.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/03g.X diff --git a/tests/sort/03h.I b/tests/sort/03h.I new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/03h.I diff --git a/tests/sort/03h.X b/tests/sort/03h.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/03h.X diff --git a/tests/sort/03i.I b/tests/sort/03i.I new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/03i.I diff --git a/tests/sort/03i.X b/tests/sort/03i.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/03i.X diff --git a/tests/sort/04a.I b/tests/sort/04a.I new file mode 100644 index 0000000..c3b1c99 --- /dev/null +++ b/tests/sort/04a.I @@ -0,0 +1,2 @@ +2 +11 diff --git a/tests/sort/04a.X b/tests/sort/04a.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/04a.X diff --git a/tests/sort/04b.I b/tests/sort/04b.I new file mode 100644 index 0000000..108c4f5 --- /dev/null +++ b/tests/sort/04b.I @@ -0,0 +1,2 @@ +11 +2 diff --git a/tests/sort/04b.X b/tests/sort/04b.X new file mode 100644 index 0000000..c3b1c99 --- /dev/null +++ b/tests/sort/04b.X @@ -0,0 +1,2 @@ +2 +11 diff --git a/tests/sort/04c.I b/tests/sort/04c.I new file mode 100644 index 0000000..108c4f5 --- /dev/null +++ b/tests/sort/04c.I @@ -0,0 +1,2 @@ +11 +2 diff --git a/tests/sort/04c.X b/tests/sort/04c.X new file mode 100644 index 0000000..c3b1c99 --- /dev/null +++ b/tests/sort/04c.X @@ -0,0 +1,2 @@ +2 +11 diff --git a/tests/sort/04d.I b/tests/sort/04d.I new file mode 100644 index 0000000..108c4f5 --- /dev/null +++ b/tests/sort/04d.I @@ -0,0 +1,2 @@ +11 +2 diff --git a/tests/sort/04d.X b/tests/sort/04d.X new file mode 100644 index 0000000..108c4f5 --- /dev/null +++ b/tests/sort/04d.X @@ -0,0 +1,2 @@ +11 +2 diff --git a/tests/sort/04e.I b/tests/sort/04e.I new file mode 100644 index 0000000..dc0438e --- /dev/null +++ b/tests/sort/04e.I @@ -0,0 +1,2 @@ +ignored B +z-ig A diff --git a/tests/sort/04e.X b/tests/sort/04e.X new file mode 100644 index 0000000..9a34bc6 --- /dev/null +++ b/tests/sort/04e.X @@ -0,0 +1,2 @@ +z-ig A +ignored B diff --git a/tests/sort/05a.I b/tests/sort/05a.I new file mode 100644 index 0000000..4ff3104 --- /dev/null +++ b/tests/sort/05a.I @@ -0,0 +1,2 @@ +A B +A A diff --git a/tests/sort/05a.X b/tests/sort/05a.X new file mode 100644 index 0000000..d00a440 --- /dev/null +++ b/tests/sort/05a.X @@ -0,0 +1,2 @@ +A A +A B diff --git a/tests/sort/05b.I b/tests/sort/05b.I new file mode 100644 index 0000000..e2cb554 --- /dev/null +++ b/tests/sort/05b.I @@ -0,0 +1,2 @@ +A B A +A A Z diff --git a/tests/sort/05b.X b/tests/sort/05b.X new file mode 100644 index 0000000..24ea562 --- /dev/null +++ b/tests/sort/05b.X @@ -0,0 +1,2 @@ +A A Z +A B A diff --git a/tests/sort/05c.I b/tests/sort/05c.I new file mode 100644 index 0000000..e2cb554 --- /dev/null +++ b/tests/sort/05c.I @@ -0,0 +1,2 @@ +A B A +A A Z diff --git a/tests/sort/05c.X b/tests/sort/05c.X new file mode 100644 index 0000000..24ea562 --- /dev/null +++ b/tests/sort/05c.X @@ -0,0 +1,2 @@ +A A Z +A B A diff --git a/tests/sort/05d.I b/tests/sort/05d.I new file mode 100644 index 0000000..e2cb554 --- /dev/null +++ b/tests/sort/05d.I @@ -0,0 +1,2 @@ +A B A +A A Z diff --git a/tests/sort/05d.X b/tests/sort/05d.X new file mode 100644 index 0000000..24ea562 --- /dev/null +++ b/tests/sort/05d.X @@ -0,0 +1,2 @@ +A A Z +A B A diff --git a/tests/sort/05e.I b/tests/sort/05e.I new file mode 100644 index 0000000..f44dbf6 --- /dev/null +++ b/tests/sort/05e.I @@ -0,0 +1,2 @@ +A B Z +A A A diff --git a/tests/sort/05e.X b/tests/sort/05e.X new file mode 100644 index 0000000..e1608f1 --- /dev/null +++ b/tests/sort/05e.X @@ -0,0 +1,2 @@ +A A A +A B Z diff --git a/tests/sort/05f.I b/tests/sort/05f.I new file mode 100644 index 0000000..e2cb554 --- /dev/null +++ b/tests/sort/05f.I @@ -0,0 +1,2 @@ +A B A +A A Z diff --git a/tests/sort/05f.X b/tests/sort/05f.X new file mode 100644 index 0000000..24ea562 --- /dev/null +++ b/tests/sort/05f.X @@ -0,0 +1,2 @@ +A A Z +A B A diff --git a/tests/sort/06a.I b/tests/sort/06a.I new file mode 100644 index 0000000..4ff3104 --- /dev/null +++ b/tests/sort/06a.I @@ -0,0 +1,2 @@ +A B +A A diff --git a/tests/sort/06a.X b/tests/sort/06a.X new file mode 100644 index 0000000..d00a440 --- /dev/null +++ b/tests/sort/06a.X @@ -0,0 +1,2 @@ +A A +A B diff --git a/tests/sort/06b.I b/tests/sort/06b.I new file mode 100644 index 0000000..e2cb554 --- /dev/null +++ b/tests/sort/06b.I @@ -0,0 +1,2 @@ +A B A +A A Z diff --git a/tests/sort/06b.X b/tests/sort/06b.X new file mode 100644 index 0000000..24ea562 --- /dev/null +++ b/tests/sort/06b.X @@ -0,0 +1,2 @@ +A A Z +A B A diff --git a/tests/sort/06c.I b/tests/sort/06c.I new file mode 100644 index 0000000..e2cb554 --- /dev/null +++ b/tests/sort/06c.I @@ -0,0 +1,2 @@ +A B A +A A Z diff --git a/tests/sort/06c.X b/tests/sort/06c.X new file mode 100644 index 0000000..24ea562 --- /dev/null +++ b/tests/sort/06c.X @@ -0,0 +1,2 @@ +A A Z +A B A diff --git a/tests/sort/06d.I b/tests/sort/06d.I new file mode 100644 index 0000000..e2cb554 --- /dev/null +++ b/tests/sort/06d.I @@ -0,0 +1,2 @@ +A B A +A A Z diff --git a/tests/sort/06d.X b/tests/sort/06d.X new file mode 100644 index 0000000..24ea562 --- /dev/null +++ b/tests/sort/06d.X @@ -0,0 +1,2 @@ +A A Z +A B A diff --git a/tests/sort/06e.I b/tests/sort/06e.I new file mode 100644 index 0000000..f44dbf6 --- /dev/null +++ b/tests/sort/06e.I @@ -0,0 +1,2 @@ +A B Z +A A A diff --git a/tests/sort/06e.X b/tests/sort/06e.X new file mode 100644 index 0000000..e1608f1 --- /dev/null +++ b/tests/sort/06e.X @@ -0,0 +1,2 @@ +A A A +A B Z diff --git a/tests/sort/06f.I b/tests/sort/06f.I new file mode 100644 index 0000000..e2cb554 --- /dev/null +++ b/tests/sort/06f.I @@ -0,0 +1,2 @@ +A B A +A A Z diff --git a/tests/sort/06f.X b/tests/sort/06f.X new file mode 100644 index 0000000..24ea562 --- /dev/null +++ b/tests/sort/06f.X @@ -0,0 +1,2 @@ +A A Z +A B A diff --git a/tests/sort/07a.I b/tests/sort/07a.I new file mode 100644 index 0000000..1ee50d7 --- /dev/null +++ b/tests/sort/07a.I @@ -0,0 +1,2 @@ +9 a b +7 a a diff --git a/tests/sort/07a.X b/tests/sort/07a.X new file mode 100644 index 0000000..88fe519 --- /dev/null +++ b/tests/sort/07a.X @@ -0,0 +1,2 @@ +7 a a +9 a b diff --git a/tests/sort/07b.I b/tests/sort/07b.I new file mode 100644 index 0000000..cf35756 --- /dev/null +++ b/tests/sort/07b.I @@ -0,0 +1,2 @@ +a a b +z a a diff --git a/tests/sort/07b.X b/tests/sort/07b.X new file mode 100644 index 0000000..1163080 --- /dev/null +++ b/tests/sort/07b.X @@ -0,0 +1,2 @@ +z a a +a a b diff --git a/tests/sort/07c.I b/tests/sort/07c.I new file mode 100644 index 0000000..eebd3ca --- /dev/null +++ b/tests/sort/07c.I @@ -0,0 +1,2 @@ +y k b +z k a diff --git a/tests/sort/07c.X b/tests/sort/07c.X new file mode 100644 index 0000000..75670f4 --- /dev/null +++ b/tests/sort/07c.X @@ -0,0 +1,2 @@ +z k a +y k b diff --git a/tests/sort/07d.I b/tests/sort/07d.I new file mode 100644 index 0000000..eebd3ca --- /dev/null +++ b/tests/sort/07d.I @@ -0,0 +1,2 @@ +y k b +z k a diff --git a/tests/sort/07d.X b/tests/sort/07d.X new file mode 100644 index 0000000..75670f4 --- /dev/null +++ b/tests/sort/07d.X @@ -0,0 +1,2 @@ +z k a +y k b diff --git a/tests/sort/08a.I b/tests/sort/08a.I new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/08a.I diff --git a/tests/sort/08a.X b/tests/sort/08a.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/08a.X diff --git a/tests/sort/08b.I b/tests/sort/08b.I new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/08b.I diff --git a/tests/sort/08b.X b/tests/sort/08b.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/08b.X diff --git a/tests/sort/09a.I b/tests/sort/09a.I new file mode 100644 index 0000000..a539369 --- /dev/null +++ b/tests/sort/09a.I @@ -0,0 +1,2 @@ +1e2 +2e1 diff --git a/tests/sort/09a.X b/tests/sort/09a.X new file mode 100644 index 0000000..986cc00 --- /dev/null +++ b/tests/sort/09a.X @@ -0,0 +1,2 @@ +2e1 +1e2 diff --git a/tests/sort/09b.I b/tests/sort/09b.I new file mode 100644 index 0000000..a539369 --- /dev/null +++ b/tests/sort/09b.I @@ -0,0 +1,2 @@ +1e2 +2e1 diff --git a/tests/sort/09b.X b/tests/sort/09b.X new file mode 100644 index 0000000..a539369 --- /dev/null +++ b/tests/sort/09b.X @@ -0,0 +1,2 @@ +1e2 +2e1 diff --git a/tests/sort/09c.I b/tests/sort/09c.I new file mode 100644 index 0000000..986cc00 --- /dev/null +++ b/tests/sort/09c.I @@ -0,0 +1,2 @@ +2e1 +1e2 diff --git a/tests/sort/09c.X b/tests/sort/09c.X new file mode 100644 index 0000000..a539369 --- /dev/null +++ b/tests/sort/09c.X @@ -0,0 +1,2 @@ +1e2 +2e1 diff --git a/tests/sort/09d.I b/tests/sort/09d.I new file mode 100644 index 0000000..9d428da --- /dev/null +++ b/tests/sort/09d.I @@ -0,0 +1,2 @@ +a 1e2 +b 2e1 diff --git a/tests/sort/09d.X b/tests/sort/09d.X new file mode 100644 index 0000000..0ef4210 --- /dev/null +++ b/tests/sort/09d.X @@ -0,0 +1,2 @@ +b 2e1 +a 1e2 diff --git a/tests/sort/10a.I b/tests/sort/10a.I new file mode 100644 index 0000000..ff811a4 --- /dev/null +++ b/tests/sort/10a.I @@ -0,0 +1,2 @@ +:ba +:ab diff --git a/tests/sort/10a.X b/tests/sort/10a.X new file mode 100644 index 0000000..ff811a4 --- /dev/null +++ b/tests/sort/10a.X @@ -0,0 +1,2 @@ +:ba +:ab diff --git a/tests/sort/10a0.I b/tests/sort/10a0.I new file mode 100644 index 0000000..a997cbb --- /dev/null +++ b/tests/sort/10a0.I @@ -0,0 +1,2 @@ +z ba +z ab diff --git a/tests/sort/10a0.X b/tests/sort/10a0.X new file mode 100644 index 0000000..a997cbb --- /dev/null +++ b/tests/sort/10a0.X @@ -0,0 +1,2 @@ +z ba +z ab diff --git a/tests/sort/10a1.I b/tests/sort/10a1.I new file mode 100644 index 0000000..16c9fca --- /dev/null +++ b/tests/sort/10a1.I @@ -0,0 +1,2 @@ +ba +ab diff --git a/tests/sort/10a1.X b/tests/sort/10a1.X new file mode 100644 index 0000000..16c9fca --- /dev/null +++ b/tests/sort/10a1.X @@ -0,0 +1,2 @@ +ba +ab diff --git a/tests/sort/10a2.I b/tests/sort/10a2.I new file mode 100644 index 0000000..a997cbb --- /dev/null +++ b/tests/sort/10a2.I @@ -0,0 +1,2 @@ +z ba +z ab diff --git a/tests/sort/10a2.X b/tests/sort/10a2.X new file mode 100644 index 0000000..a997cbb --- /dev/null +++ b/tests/sort/10a2.X @@ -0,0 +1,2 @@ +z ba +z ab diff --git a/tests/sort/10b.I b/tests/sort/10b.I new file mode 100644 index 0000000..ff811a4 --- /dev/null +++ b/tests/sort/10b.I @@ -0,0 +1,2 @@ +:ba +:ab diff --git a/tests/sort/10b.X b/tests/sort/10b.X new file mode 100644 index 0000000..ff811a4 --- /dev/null +++ b/tests/sort/10b.X @@ -0,0 +1,2 @@ +:ba +:ab diff --git a/tests/sort/10c.I b/tests/sort/10c.I new file mode 100644 index 0000000..64f2cb1 --- /dev/null +++ b/tests/sort/10c.I @@ -0,0 +1,2 @@ +:ab +:ba diff --git a/tests/sort/10c.X b/tests/sort/10c.X new file mode 100644 index 0000000..ff811a4 --- /dev/null +++ b/tests/sort/10c.X @@ -0,0 +1,2 @@ +:ba +:ab diff --git a/tests/sort/10d.I b/tests/sort/10d.I new file mode 100644 index 0000000..64f2cb1 --- /dev/null +++ b/tests/sort/10d.I @@ -0,0 +1,2 @@ +:ab +:ba diff --git a/tests/sort/10d.X b/tests/sort/10d.X new file mode 100644 index 0000000..ff811a4 --- /dev/null +++ b/tests/sort/10d.X @@ -0,0 +1,2 @@ +:ba +:ab diff --git a/tests/sort/10e.I b/tests/sort/10e.I new file mode 100644 index 0000000..b889aa0 --- /dev/null +++ b/tests/sort/10e.I @@ -0,0 +1,2 @@ +ab +ba diff --git a/tests/sort/10e.X b/tests/sort/10e.X new file mode 100644 index 0000000..16c9fca --- /dev/null +++ b/tests/sort/10e.X @@ -0,0 +1,2 @@ +ba +ab diff --git a/tests/sort/10f.I b/tests/sort/10f.I new file mode 100644 index 0000000..64f2cb1 --- /dev/null +++ b/tests/sort/10f.I @@ -0,0 +1,2 @@ +:ab +:ba diff --git a/tests/sort/10f.X b/tests/sort/10f.X new file mode 100644 index 0000000..ff811a4 --- /dev/null +++ b/tests/sort/10f.X @@ -0,0 +1,2 @@ +:ba +:ab diff --git a/tests/sort/10g.I b/tests/sort/10g.I new file mode 100644 index 0000000..092f6be --- /dev/null +++ b/tests/sort/10g.I @@ -0,0 +1,2 @@ +a ab +b ba diff --git a/tests/sort/10g.X b/tests/sort/10g.X new file mode 100644 index 0000000..6d60415 --- /dev/null +++ b/tests/sort/10g.X @@ -0,0 +1,2 @@ +b ba +a ab diff --git a/tests/sort/11a.I b/tests/sort/11a.I new file mode 100644 index 0000000..e60def5 --- /dev/null +++ b/tests/sort/11a.I @@ -0,0 +1,2 @@ +a :a +a :b diff --git a/tests/sort/11a.X b/tests/sort/11a.X new file mode 100644 index 0000000..e60def5 --- /dev/null +++ b/tests/sort/11a.X @@ -0,0 +1,2 @@ +a :a +a :b diff --git a/tests/sort/11b.I b/tests/sort/11b.I new file mode 100644 index 0000000..415e2eb --- /dev/null +++ b/tests/sort/11b.I @@ -0,0 +1,2 @@ +a :b +a :a diff --git a/tests/sort/11b.X b/tests/sort/11b.X new file mode 100644 index 0000000..e60def5 --- /dev/null +++ b/tests/sort/11b.X @@ -0,0 +1,2 @@ +a :a +a :b diff --git a/tests/sort/11c.I b/tests/sort/11c.I new file mode 100644 index 0000000..8517d85 --- /dev/null +++ b/tests/sort/11c.I @@ -0,0 +1,2 @@ +z:a :a +a :b diff --git a/tests/sort/11c.X b/tests/sort/11c.X new file mode 100644 index 0000000..8517d85 --- /dev/null +++ b/tests/sort/11c.X @@ -0,0 +1,2 @@ +z:a :a +a :b diff --git a/tests/sort/11d.I b/tests/sort/11d.I new file mode 100644 index 0000000..87f0108 --- /dev/null +++ b/tests/sort/11d.I @@ -0,0 +1,2 @@ +z:a :b +a :a diff --git a/tests/sort/11d.X b/tests/sort/11d.X new file mode 100644 index 0000000..7848bb6 --- /dev/null +++ b/tests/sort/11d.X @@ -0,0 +1,2 @@ +a :a +z:a :b diff --git a/tests/sort/12a.I b/tests/sort/12a.I new file mode 100644 index 0000000..36848de --- /dev/null +++ b/tests/sort/12a.I @@ -0,0 +1,2 @@ +a:1 +b:- diff --git a/tests/sort/12a.X b/tests/sort/12a.X new file mode 100644 index 0000000..ec3717a --- /dev/null +++ b/tests/sort/12a.X @@ -0,0 +1,2 @@ +b:- +a:1 diff --git a/tests/sort/12b.I b/tests/sort/12b.I new file mode 100644 index 0000000..ec3717a --- /dev/null +++ b/tests/sort/12b.I @@ -0,0 +1,2 @@ +b:- +a:1 diff --git a/tests/sort/12b.X b/tests/sort/12b.X new file mode 100644 index 0000000..ec3717a --- /dev/null +++ b/tests/sort/12b.X @@ -0,0 +1,2 @@ +b:- +a:1 diff --git a/tests/sort/12c.I b/tests/sort/12c.I new file mode 100644 index 0000000..a26d65d --- /dev/null +++ b/tests/sort/12c.I @@ -0,0 +1,2 @@ +a:1 +b:X diff --git a/tests/sort/12c.X b/tests/sort/12c.X new file mode 100644 index 0000000..61a9b94 --- /dev/null +++ b/tests/sort/12c.X @@ -0,0 +1,2 @@ +b:X +a:1 diff --git a/tests/sort/12d.I b/tests/sort/12d.I new file mode 100644 index 0000000..61a9b94 --- /dev/null +++ b/tests/sort/12d.I @@ -0,0 +1,2 @@ +b:X +a:1 diff --git a/tests/sort/12d.X b/tests/sort/12d.X new file mode 100644 index 0000000..61a9b94 --- /dev/null +++ b/tests/sort/12d.X @@ -0,0 +1,2 @@ +b:X +a:1 diff --git a/tests/sort/13a.I b/tests/sort/13a.I new file mode 100644 index 0000000..2f2c538 --- /dev/null +++ b/tests/sort/13a.I @@ -0,0 +1,2 @@ +axx +b-1 diff --git a/tests/sort/13a.X b/tests/sort/13a.X new file mode 100644 index 0000000..3a78e65 --- /dev/null +++ b/tests/sort/13a.X @@ -0,0 +1,2 @@ +b-1 +axx diff --git a/tests/sort/13b.I b/tests/sort/13b.I new file mode 100644 index 0000000..3a78e65 --- /dev/null +++ b/tests/sort/13b.I @@ -0,0 +1,2 @@ +b-1 +axx diff --git a/tests/sort/13b.X b/tests/sort/13b.X new file mode 100644 index 0000000..3a78e65 --- /dev/null +++ b/tests/sort/13b.X @@ -0,0 +1,2 @@ +b-1 +axx diff --git a/tests/sort/14a.I b/tests/sort/14a.I new file mode 100644 index 0000000..26940e4 --- /dev/null +++ b/tests/sort/14a.I @@ -0,0 +1,3 @@ +mal +mal- +mala diff --git a/tests/sort/14a.X b/tests/sort/14a.X new file mode 100644 index 0000000..7386438 --- /dev/null +++ b/tests/sort/14a.X @@ -0,0 +1,2 @@ +mal +mala diff --git a/tests/sort/14b.I b/tests/sort/14b.I new file mode 100644 index 0000000..26940e4 --- /dev/null +++ b/tests/sort/14b.I @@ -0,0 +1,3 @@ +mal +mal- +mala diff --git a/tests/sort/14b.X b/tests/sort/14b.X new file mode 100644 index 0000000..7386438 --- /dev/null +++ b/tests/sort/14b.X @@ -0,0 +1,2 @@ +mal +mala diff --git a/tests/sort/15a.I b/tests/sort/15a.I new file mode 100644 index 0000000..f462609 --- /dev/null +++ b/tests/sort/15a.I @@ -0,0 +1,2 @@ +a +a diff --git a/tests/sort/15a.X b/tests/sort/15a.X new file mode 100644 index 0000000..7898192 --- /dev/null +++ b/tests/sort/15a.X @@ -0,0 +1 @@ +a diff --git a/tests/sort/15b.I b/tests/sort/15b.I new file mode 100644 index 0000000..49350c2 --- /dev/null +++ b/tests/sort/15b.I @@ -0,0 +1,2 @@ +a +a diff --git a/tests/sort/15b.X b/tests/sort/15b.X new file mode 100644 index 0000000..7898192 --- /dev/null +++ b/tests/sort/15b.X @@ -0,0 +1 @@ +a diff --git a/tests/sort/15c.I b/tests/sort/15c.I new file mode 100644 index 0000000..f1b6bee --- /dev/null +++ b/tests/sort/15c.I @@ -0,0 +1,2 @@ +a +a diff --git a/tests/sort/15c.X b/tests/sort/15c.X new file mode 100644 index 0000000..1d4219d --- /dev/null +++ b/tests/sort/15c.X @@ -0,0 +1 @@ +a diff --git a/tests/sort/15d.I b/tests/sort/15d.I new file mode 100644 index 0000000..149fe18 --- /dev/null +++ b/tests/sort/15d.I @@ -0,0 +1,2 @@ +a +a diff --git a/tests/sort/15d.X b/tests/sort/15d.X new file mode 100644 index 0000000..5fcc983 --- /dev/null +++ b/tests/sort/15d.X @@ -0,0 +1 @@ +a diff --git a/tests/sort/15e.I b/tests/sort/15e.I new file mode 100644 index 0000000..eaa087f --- /dev/null +++ b/tests/sort/15e.I @@ -0,0 +1,2 @@ +a +a diff --git a/tests/sort/15e.X b/tests/sort/15e.X new file mode 100644 index 0000000..7898192 --- /dev/null +++ b/tests/sort/15e.X @@ -0,0 +1 @@ +a diff --git a/tests/sort/16a.I b/tests/sort/16a.I new file mode 100644 index 0000000..675dd1a --- /dev/null +++ b/tests/sort/16a.I @@ -0,0 +1,6 @@ +éminence +überhaupt +'s-Gravenhage +aëroclub +Aag +aagtappels diff --git a/tests/sort/16a.X b/tests/sort/16a.X new file mode 100644 index 0000000..11ab7c3 --- /dev/null +++ b/tests/sort/16a.X @@ -0,0 +1,6 @@ +'s-Gravenhage +Aag +aagtappels +aëroclub +éminence +überhaupt diff --git a/tests/sort/17.I b/tests/sort/17.I new file mode 100644 index 0000000..ad8566c --- /dev/null +++ b/tests/sort/17.I @@ -0,0 +1 @@ +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx diff --git a/tests/sort/17.X b/tests/sort/17.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/17.X diff --git a/tests/sort/18a.I b/tests/sort/18a.I new file mode 100644 index 0000000..099f3e7 --- /dev/null +++ b/tests/sort/18a.I @@ -0,0 +1,2 @@ + 901 +100 diff --git a/tests/sort/18a.X b/tests/sort/18a.X new file mode 100644 index 0000000..099f3e7 --- /dev/null +++ b/tests/sort/18a.X @@ -0,0 +1,2 @@ + 901 +100 diff --git a/tests/sort/18b.I b/tests/sort/18b.I new file mode 100644 index 0000000..099f3e7 --- /dev/null +++ b/tests/sort/18b.I @@ -0,0 +1,2 @@ + 901 +100 diff --git a/tests/sort/18b.X b/tests/sort/18b.X new file mode 100644 index 0000000..099f3e7 --- /dev/null +++ b/tests/sort/18b.X @@ -0,0 +1,2 @@ + 901 +100 diff --git a/tests/sort/18c.I b/tests/sort/18c.I new file mode 100644 index 0000000..099f3e7 --- /dev/null +++ b/tests/sort/18c.I @@ -0,0 +1,2 @@ + 901 +100 diff --git a/tests/sort/18c.X b/tests/sort/18c.X new file mode 100644 index 0000000..838e5ad --- /dev/null +++ b/tests/sort/18c.X @@ -0,0 +1,2 @@ +100 + 901 diff --git a/tests/sort/18d.I b/tests/sort/18d.I new file mode 100644 index 0000000..099f3e7 --- /dev/null +++ b/tests/sort/18d.I @@ -0,0 +1,2 @@ + 901 +100 diff --git a/tests/sort/18d.X b/tests/sort/18d.X new file mode 100644 index 0000000..099f3e7 --- /dev/null +++ b/tests/sort/18d.X @@ -0,0 +1,2 @@ + 901 +100 diff --git a/tests/sort/18e.I b/tests/sort/18e.I new file mode 100644 index 0000000..099f3e7 --- /dev/null +++ b/tests/sort/18e.I @@ -0,0 +1,2 @@ + 901 +100 diff --git a/tests/sort/18e.X b/tests/sort/18e.X new file mode 100644 index 0000000..838e5ad --- /dev/null +++ b/tests/sort/18e.X @@ -0,0 +1,2 @@ +100 + 901 diff --git a/tests/sort/19a.I b/tests/sort/19a.I new file mode 100644 index 0000000..36536f2 --- /dev/null +++ b/tests/sort/19a.I @@ -0,0 +1,3 @@ +b 2 +b 1 +b 3 diff --git a/tests/sort/19a.X b/tests/sort/19a.X new file mode 100644 index 0000000..c05c534 --- /dev/null +++ b/tests/sort/19a.X @@ -0,0 +1,3 @@ +b 1 +b 2 +b 3 diff --git a/tests/sort/19b.I b/tests/sort/19b.I new file mode 100644 index 0000000..36536f2 --- /dev/null +++ b/tests/sort/19b.I @@ -0,0 +1,3 @@ +b 2 +b 1 +b 3 diff --git a/tests/sort/19b.X b/tests/sort/19b.X new file mode 100644 index 0000000..8caad00 --- /dev/null +++ b/tests/sort/19b.X @@ -0,0 +1,3 @@ +b 3 +b 2 +b 1 diff --git a/tests/sort/20a.I b/tests/sort/20a.I new file mode 100644 index 0000000..8dc9145 --- /dev/null +++ b/tests/sort/20a.I @@ -0,0 +1,10 @@ +_________U__free +_________U__malloc +_________U__abort +_________U__memcpy +_________U__memset +_________U_dyld_stub_binding_helper +_________U__malloc +_________U___iob +_________U__abort +_________U__fprintf diff --git a/tests/sort/20a.X b/tests/sort/20a.X new file mode 100644 index 0000000..c073c2a --- /dev/null +++ b/tests/sort/20a.X @@ -0,0 +1,10 @@ +_________U___iob +_________U__abort +_________U__abort +_________U__fprintf +_________U__free +_________U__malloc +_________U__malloc +_________U__memcpy +_________U__memset +_________U_dyld_stub_binding_helper diff --git a/tests/sort/21a.I b/tests/sort/21a.I new file mode 100644 index 0000000..3e8d813 --- /dev/null +++ b/tests/sort/21a.I @@ -0,0 +1,3 @@ +A +a +_ diff --git a/tests/sort/21a.X b/tests/sort/21a.X new file mode 100644 index 0000000..5756033 --- /dev/null +++ b/tests/sort/21a.X @@ -0,0 +1,3 @@ +A +_ +a diff --git a/tests/sort/21b.I b/tests/sort/21b.I new file mode 100644 index 0000000..3e8d813 --- /dev/null +++ b/tests/sort/21b.I @@ -0,0 +1,3 @@ +A +a +_ diff --git a/tests/sort/21b.X b/tests/sort/21b.X new file mode 100644 index 0000000..3e8d813 --- /dev/null +++ b/tests/sort/21b.X @@ -0,0 +1,3 @@ +A +a +_ diff --git a/tests/sort/21c.I b/tests/sort/21c.I new file mode 100644 index 0000000..d1d8b45 --- /dev/null +++ b/tests/sort/21c.I @@ -0,0 +1,3 @@ +a +A +_ diff --git a/tests/sort/21c.X b/tests/sort/21c.X new file mode 100644 index 0000000..3e8d813 --- /dev/null +++ b/tests/sort/21c.X @@ -0,0 +1,3 @@ +A +a +_ diff --git a/tests/sort/21d.I b/tests/sort/21d.I new file mode 100644 index 0000000..ddaee30 --- /dev/null +++ b/tests/sort/21d.I @@ -0,0 +1,3 @@ +_ +a +A diff --git a/tests/sort/21d.X b/tests/sort/21d.X new file mode 100644 index 0000000..3e8d813 --- /dev/null +++ b/tests/sort/21d.X @@ -0,0 +1,3 @@ +A +a +_ diff --git a/tests/sort/21e.I b/tests/sort/21e.I new file mode 100644 index 0000000..479bb34 --- /dev/null +++ b/tests/sort/21e.I @@ -0,0 +1,3 @@ +a +_ +A diff --git a/tests/sort/21e.X b/tests/sort/21e.X new file mode 100644 index 0000000..3e8d813 --- /dev/null +++ b/tests/sort/21e.X @@ -0,0 +1,3 @@ +A +a +_ diff --git a/tests/sort/21f.I b/tests/sort/21f.I new file mode 100644 index 0000000..3e8d813 --- /dev/null +++ b/tests/sort/21f.I @@ -0,0 +1,3 @@ +A +a +_ diff --git a/tests/sort/21f.X b/tests/sort/21f.X new file mode 100644 index 0000000..3e8d813 --- /dev/null +++ b/tests/sort/21f.X @@ -0,0 +1,3 @@ +A +a +_ diff --git a/tests/sort/21g.I b/tests/sort/21g.I new file mode 100644 index 0000000..4beb668 --- /dev/null +++ b/tests/sort/21g.I @@ -0,0 +1,2 @@ +a +_ diff --git a/tests/sort/21g.X b/tests/sort/21g.X new file mode 100644 index 0000000..4beb668 --- /dev/null +++ b/tests/sort/21g.X @@ -0,0 +1,2 @@ +a +_ diff --git a/tests/sort/22a.I b/tests/sort/22a.I new file mode 100644 index 0000000..fb86a47 --- /dev/null +++ b/tests/sort/22a.I @@ -0,0 +1,2 @@ +3 b +4 B diff --git a/tests/sort/22a.X b/tests/sort/22a.X new file mode 100644 index 0000000..8a7af73 --- /dev/null +++ b/tests/sort/22a.X @@ -0,0 +1,2 @@ +4 B +3 b diff --git a/tests/sort/22b.I b/tests/sort/22b.I new file mode 100644 index 0000000..f02af62 --- /dev/null +++ b/tests/sort/22b.I @@ -0,0 +1,2 @@ +3 b +4 b diff --git a/tests/sort/22b.X b/tests/sort/22b.X new file mode 100644 index 0000000..1c2a131 --- /dev/null +++ b/tests/sort/22b.X @@ -0,0 +1,2 @@ +4 b +3 b diff --git a/tests/sort/Makefile.am b/tests/sort/Makefile.am new file mode 100644 index 0000000..66600e5 --- /dev/null +++ b/tests/sort/Makefile.am @@ -0,0 +1,99 @@ +# Make coreutils tests. -*-Makefile-*- + +# Copyright (C) 1997, 1998, 2000, 2003, 2004, 2006 Free Software +# Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301, USA. + +##test-files-begin +x = sort +explicit = +maint_gen = n1.I n1.X n2.I n2.X n3.I n3.X n4.I n4.X n5.I n5.X n6.I n6.X n7.I \ +n7.X n8a.I n8a.X n8b.I n8b.X n9a.I n9a.X n9b.I n9b.X n10a.I n10a.X n10b.I \ +n10b.X n11a.I n11a.X n11b.I n11b.X 01a.I 01a.X 02a.I 02a.X 02b.I 02b.X 02c.I \ +02c.X 02d.I 02d.X 02e.I 02e.X 02m.I 02m.X 02n.I 02n.X 02o.I 02o.X 02p.I 02p.X \ +03a.I 03a.X 03b.I 03b.X 03c.I 03c.X 03d.I 03d.X 03e.I 03e.X 03f.I 03f.X 03g.I \ +03g.X 03h.I 03h.X 03i.I 03i.X 04a.I 04a.X 04b.I 04b.X 04c.I 04c.X 04d.I 04d.X \ +04e.I 04e.X 05a.I 05a.X 05b.I 05b.X 05c.I 05c.X 05d.I 05d.X 05e.I 05e.X 05f.I \ +05f.X 06a.I 06a.X 06b.I 06b.X 06c.I 06c.X 06d.I 06d.X 06e.I 06e.X 06f.I 06f.X \ +07a.I 07a.X 07b.I 07b.X 07c.I 07c.X 07d.I 07d.X 08a.I 08a.X 08b.I 08b.X 09a.I \ +09a.X 09b.I 09b.X 09c.I 09c.X 09d.I 09d.X 10a.I 10a.X 10b.I 10b.X 10c.I 10c.X \ +10d.I 10d.X 10a0.I 10a0.X 10a1.I 10a1.X 10a2.I 10a2.X 10e.I 10e.X 10f.I 10f.X \ +10g.I 10g.X 11a.I 11a.X 11b.I 11b.X 11c.I 11c.X 11d.I 11d.X 12a.I 12a.X 12b.I \ +12b.X 12c.I 12c.X 12d.I 12d.X 13a.I 13a.X 13b.I 13b.X 14a.I 14a.X 14b.I 14b.X \ +15a.I 15a.X 15b.I 15b.X 15c.I 15c.X 15d.I 15d.X 15e.I 15e.X 16a.I 16a.X 17.I \ +17.X 18a.I 18a.X 18b.I 18b.X 18c.I 18c.X 18d.I 18d.X 18e.I 18e.X 19a.I 19a.X \ +19b.I 19b.X 20a.I 20a.X 21a.I 21a.X 21b.I 21b.X 21c.I 21c.X 21d.I 21d.X 21e.I \ +21e.X 21f.I 21f.X 21g.I 21g.X 22a.I 22a.X 22b.I 22b.X no-file1.X o-no-file1.X \ +create-empty.X neg-nls.I neg-nls.X nul-nls.I nul-nls.X use-nl.I use-nl.X o2.I \ +o2.X incompat1.I incompat1.X incompat2.I incompat2.X incompat3.I incompat3.X \ +incompat4.I incompat4.X incompat5.I incompat5.X incompat6.I incompat6.X \ +nul-tab.I nul-tab.X bigfield.I bigfield.X +run_gen = n1.O n1.E n2.O n2.E n3.O n3.E n4.O n4.E n5.O n5.E n6.O n6.E n7.O \ +n7.E n8a.O n8a.E n8b.O n8b.E n9a.O n9a.E n9b.O n9b.E n10a.O n10a.E n10b.O \ +n10b.E n11a.O n11a.E n11b.O n11b.E 01a.O 01a.E 02a.O 02a.E 02b.O 02b.E 02c.O \ +02c.E 02d.O 02d.E 02e.O 02e.E 02m.O 02m.E 02n.O 02n.E 02o.O 02o.E 02p.O 02p.E \ +03a.O 03a.E 03b.O 03b.E 03c.O 03c.E 03d.O 03d.E 03e.O 03e.E 03f.O 03f.E 03g.O \ +03g.E 03h.O 03h.E 03i.O 03i.E 04a.O 04a.E 04b.O 04b.E 04c.O 04c.E 04d.O 04d.E \ +04e.O 04e.E 05a.O 05a.E 05b.O 05b.E 05c.O 05c.E 05d.O 05d.E 05e.O 05e.E 05f.O \ +05f.E 06a.O 06a.E 06b.O 06b.E 06c.O 06c.E 06d.O 06d.E 06e.O 06e.E 06f.O 06f.E \ +07a.O 07a.E 07b.O 07b.E 07c.O 07c.E 07d.O 07d.E 08a.O 08a.E 08b.O 08b.E 09a.O \ +09a.E 09b.O 09b.E 09c.O 09c.E 09d.O 09d.E 10a.O 10a.E 10b.O 10b.E 10c.O 10c.E \ +10d.O 10d.E 10a0.O 10a0.E 10a1.O 10a1.E 10a2.O 10a2.E 10e.O 10e.E 10f.O 10f.E \ +10g.O 10g.E 11a.O 11a.E 11b.O 11b.E 11c.O 11c.E 11d.O 11d.E 12a.O 12a.E 12b.O \ +12b.E 12c.O 12c.E 12d.O 12d.E 13a.O 13a.E 13b.O 13b.E 14a.O 14a.E 14b.O 14b.E \ +15a.O 15a.E 15b.O 15b.E 15c.O 15c.E 15d.O 15d.E 15e.O 15e.E 16a.O 16a.E 17.O \ +17.E 18a.O 18a.E 18b.O 18b.E 18c.O 18c.E 18d.O 18d.E 18e.O 18e.E 19a.O 19a.E \ +19b.O 19b.E 20a.O 20a.E 21a.O 21a.E 21b.O 21b.E 21c.O 21c.E 21d.O 21d.E 21e.O \ +21e.E 21f.O 21f.E 21g.O 21g.E 22a.O 22a.E 22b.O 22b.E no-file1.O no-file1.E \ +o-no-file1.O o-no-file1.E create-empty.O create-empty.E neg-nls.O neg-nls.E \ +nul-nls.O nul-nls.E use-nl.O use-nl.E o2.O o2.E incompat1.O incompat1.E \ +incompat2.O incompat2.E incompat3.O incompat3.E incompat4.O incompat4.E \ +incompat5.O incompat5.E incompat6.O incompat6.E nul-tab.O nul-tab.E \ +bigfield.O bigfield.E +##test-files-end + +EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen) +noinst_SCRIPTS = $x-tests +TESTS_ENVIRONMENT = \ + CU_TEST_NAME=`basename $(abs_srcdir)`,$$tst \ + PATH="$(VG_PATH_PREFIX)`pwd`/../../src$(PATH_SEPARATOR)$$PATH" + +editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,$(srcdir),g' + +TESTS = $x-tests + +mk_script = $(srcdir)/../mk-script +$(srcdir)/$x-tests: $(mk_script) Test.pm Makefile.am + test '$x' = test && prog=../../src/$x || prog=$x; \ + $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) $$prog > $@.n + mv $@.n $@ + chmod 755 $@ + +MAINTAINERCLEANFILES = $x-tests $(maint_gen) +CLEANFILES = $(run_gen) + +check: $(maint_gen) + +$(srcdir)/Makefile.am: ../Makefile.am.in Test.pm $(mk_script) + rm -f $@ $@t + sed -n '1,/^##test-files-begin/p' $(srcdir)/../Makefile.am.in > $@t + tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \ + echo "x = $$tool" >> $@t + $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> $@t + sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> $@t + chmod -w $@t + mv $@t $@ diff --git a/tests/sort/Makefile.in b/tests/sort/Makefile.in new file mode 100644 index 0000000..cab283b --- /dev/null +++ b/tests/sort/Makefile.in @@ -0,0 +1,809 @@ +# Makefile.in generated by automake 1.10 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +# Make coreutils tests. -*-Makefile-*- + +# Copyright (C) 1997, 1998, 2000, 2003, 2004, 2006 Free Software +# Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301, USA. + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = tests/sort +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/absolute-header.m4 \ + $(top_srcdir)/m4/acl.m4 $(top_srcdir)/m4/alloca.m4 \ + $(top_srcdir)/m4/allocsa.m4 $(top_srcdir)/m4/argmatch.m4 \ + $(top_srcdir)/m4/arpa_inet_h.m4 $(top_srcdir)/m4/assert.m4 \ + $(top_srcdir)/m4/atexit.m4 $(top_srcdir)/m4/autobuild.m4 \ + $(top_srcdir)/m4/backupfile.m4 $(top_srcdir)/m4/base64.m4 \ + $(top_srcdir)/m4/bison.m4 $(top_srcdir)/m4/boottime.m4 \ + $(top_srcdir)/m4/c-strtod.m4 $(top_srcdir)/m4/calloc.m4 \ + $(top_srcdir)/m4/canon-host.m4 \ + $(top_srcdir)/m4/canonicalize.m4 \ + $(top_srcdir)/m4/chdir-long.m4 $(top_srcdir)/m4/check-decl.m4 \ + $(top_srcdir)/m4/chown.m4 $(top_srcdir)/m4/clock_time.m4 \ + $(top_srcdir)/m4/cloexec.m4 $(top_srcdir)/m4/close-stream.m4 \ + $(top_srcdir)/m4/closeout.m4 $(top_srcdir)/m4/codeset.m4 \ + $(top_srcdir)/m4/config-h.m4 $(top_srcdir)/m4/cycle-check.m4 \ + $(top_srcdir)/m4/d-ino.m4 $(top_srcdir)/m4/d-type.m4 \ + $(top_srcdir)/m4/dirfd.m4 $(top_srcdir)/m4/dirname.m4 \ + $(top_srcdir)/m4/dos.m4 $(top_srcdir)/m4/double-slash-root.m4 \ + $(top_srcdir)/m4/dup2.m4 $(top_srcdir)/m4/eealloc.m4 \ + $(top_srcdir)/m4/eoverflow.m4 $(top_srcdir)/m4/error.m4 \ + $(top_srcdir)/m4/euidaccess-stat.m4 \ + $(top_srcdir)/m4/euidaccess.m4 $(top_srcdir)/m4/exclude.m4 \ + $(top_srcdir)/m4/exitfail.m4 $(top_srcdir)/m4/extensions.m4 \ + $(top_srcdir)/m4/fchdir.m4 $(top_srcdir)/m4/fcntl-safer.m4 \ + $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fd-reopen.m4 \ + $(top_srcdir)/m4/file-type.m4 $(top_srcdir)/m4/fileblocks.m4 \ + $(top_srcdir)/m4/filemode.m4 $(top_srcdir)/m4/filenamecat.m4 \ + $(top_srcdir)/m4/flexmember.m4 $(top_srcdir)/m4/fnmatch.m4 \ + $(top_srcdir)/m4/fpending.m4 $(top_srcdir)/m4/fprintftime.m4 \ + $(top_srcdir)/m4/free.m4 $(top_srcdir)/m4/fstypename.m4 \ + $(top_srcdir)/m4/fsusage.m4 $(top_srcdir)/m4/ftruncate.m4 \ + $(top_srcdir)/m4/fts.m4 $(top_srcdir)/m4/getaddrinfo.m4 \ + $(top_srcdir)/m4/getcwd-abort-bug.m4 \ + $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ + $(top_srcdir)/m4/getdate.m4 $(top_srcdir)/m4/getdelim.m4 \ + $(top_srcdir)/m4/getgroups.m4 $(top_srcdir)/m4/gethostname.m4 \ + $(top_srcdir)/m4/gethrxtime.m4 $(top_srcdir)/m4/getline.m4 \ + $(top_srcdir)/m4/getloadavg.m4 $(top_srcdir)/m4/getndelim2.m4 \ + $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/getpagesize.m4 \ + $(top_srcdir)/m4/getpass.m4 $(top_srcdir)/m4/gettext.m4 \ + $(top_srcdir)/m4/gettime.m4 $(top_srcdir)/m4/gettimeofday.m4 \ + $(top_srcdir)/m4/getugroups.m4 \ + $(top_srcdir)/m4/getusershell.m4 $(top_srcdir)/m4/glibc21.m4 \ + $(top_srcdir)/m4/gnulib-common.m4 \ + $(top_srcdir)/m4/gnulib-comp.m4 \ + $(top_srcdir)/m4/group-member.m4 \ + $(top_srcdir)/m4/hard-locale.m4 $(top_srcdir)/m4/hash.m4 \ + $(top_srcdir)/m4/host-os.m4 $(top_srcdir)/m4/human.m4 \ + $(top_srcdir)/m4/i-ring.m4 $(top_srcdir)/m4/iconv.m4 \ + $(top_srcdir)/m4/idcache.m4 $(top_srcdir)/m4/inet_ntop.m4 \ + $(top_srcdir)/m4/inline.m4 $(top_srcdir)/m4/intmax_t.m4 \ + $(top_srcdir)/m4/inttostr.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ + $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \ + $(top_srcdir)/m4/isapipe.m4 $(top_srcdir)/m4/jm-macros.m4 \ + $(top_srcdir)/m4/jm-winsz1.m4 $(top_srcdir)/m4/jm-winsz2.m4 \ + $(top_srcdir)/m4/lchmod.m4 $(top_srcdir)/m4/lchown.m4 \ + $(top_srcdir)/m4/lib-check.m4 $(top_srcdir)/m4/lib-ignore.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/link-follow.m4 \ + $(top_srcdir)/m4/localcharset.m4 \ + $(top_srcdir)/m4/long-options.m4 \ + $(top_srcdir)/m4/longdouble.m4 $(top_srcdir)/m4/longlong.m4 \ + $(top_srcdir)/m4/ls-mntd-fs.m4 $(top_srcdir)/m4/lstat.m4 \ + $(top_srcdir)/m4/mbchar.m4 $(top_srcdir)/m4/mbiter.m4 \ + $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbscasecmp.m4 \ + $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/mbswidth.m4 \ + $(top_srcdir)/m4/md5.m4 $(top_srcdir)/m4/memcasecmp.m4 \ + $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memcmp.m4 \ + $(top_srcdir)/m4/memcoll.m4 $(top_srcdir)/m4/memcpy.m4 \ + $(top_srcdir)/m4/memmove.m4 $(top_srcdir)/m4/mempcpy.m4 \ + $(top_srcdir)/m4/memrchr.m4 $(top_srcdir)/m4/memset.m4 \ + $(top_srcdir)/m4/memxfrm.m4 $(top_srcdir)/m4/mkancesdirs.m4 \ + $(top_srcdir)/m4/mkdir-p.m4 $(top_srcdir)/m4/mkdir-slash.m4 \ + $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mktime.m4 \ + $(top_srcdir)/m4/modechange.m4 $(top_srcdir)/m4/mountlist.m4 \ + $(top_srcdir)/m4/mpsort.m4 $(top_srcdir)/m4/nanosleep.m4 \ + $(top_srcdir)/m4/netinet_in_h.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/pathmax.m4 \ + $(top_srcdir)/m4/perl.m4 $(top_srcdir)/m4/physmem.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/posixtm.m4 \ + $(top_srcdir)/m4/posixver.m4 $(top_srcdir)/m4/prereq.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/putenv.m4 \ + $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \ + $(top_srcdir)/m4/randint.m4 $(top_srcdir)/m4/randperm.m4 \ + $(top_srcdir)/m4/randread.m4 $(top_srcdir)/m4/readlink.m4 \ + $(top_srcdir)/m4/readtokens.m4 $(top_srcdir)/m4/readutmp.m4 \ + $(top_srcdir)/m4/regex.m4 \ + $(top_srcdir)/m4/rename-dest-slash.m4 \ + $(top_srcdir)/m4/rename.m4 $(top_srcdir)/m4/rmdir-errno.m4 \ + $(top_srcdir)/m4/rmdir.m4 $(top_srcdir)/m4/root-dev-ino.m4 \ + $(top_srcdir)/m4/rpmatch.m4 $(top_srcdir)/m4/safe-read.m4 \ + $(top_srcdir)/m4/safe-write.m4 $(top_srcdir)/m4/same.m4 \ + $(top_srcdir)/m4/save-cwd.m4 $(top_srcdir)/m4/savedir.m4 \ + $(top_srcdir)/m4/savewd.m4 $(top_srcdir)/m4/setenv.m4 \ + $(top_srcdir)/m4/settime.m4 $(top_srcdir)/m4/sha1.m4 \ + $(top_srcdir)/m4/sha256.m4 $(top_srcdir)/m4/sha512.m4 \ + $(top_srcdir)/m4/sig2str.m4 $(top_srcdir)/m4/snprintf.m4 \ + $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sockpfaf.m4 \ + $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/st_dm_mode.m4 \ + $(top_srcdir)/m4/stat-prog.m4 $(top_srcdir)/m4/stat-time.m4 \ + $(top_srcdir)/m4/stdarg.m4 $(top_srcdir)/m4/stdbool.m4 \ + $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ + $(top_srcdir)/m4/stdio-safer.m4 $(top_srcdir)/m4/stdio_h.m4 \ + $(top_srcdir)/m4/stdlib-safer.m4 $(top_srcdir)/m4/stdlib_h.m4 \ + $(top_srcdir)/m4/stpcpy.m4 $(top_srcdir)/m4/strcspn.m4 \ + $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strftime.m4 \ + $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strndup.m4 \ + $(top_srcdir)/m4/strnlen.m4 $(top_srcdir)/m4/strnumcmp.m4 \ + $(top_srcdir)/m4/strpbrk.m4 $(top_srcdir)/m4/strtod.m4 \ + $(top_srcdir)/m4/strtoimax.m4 $(top_srcdir)/m4/strtol.m4 \ + $(top_srcdir)/m4/strtoll.m4 $(top_srcdir)/m4/strtoul.m4 \ + $(top_srcdir)/m4/strtoull.m4 $(top_srcdir)/m4/strtoumax.m4 \ + $(top_srcdir)/m4/strverscmp.m4 \ + $(top_srcdir)/m4/sys_socket_h.m4 \ + $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ + $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ + $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/timespec.m4 \ + $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/tzset.m4 \ + $(top_srcdir)/m4/unicodeio.m4 $(top_srcdir)/m4/unistd-safer.m4 \ + $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink-busy.m4 \ + $(top_srcdir)/m4/unlinkdir.m4 $(top_srcdir)/m4/unlocked-io.m4 \ + $(top_srcdir)/m4/uptime.m4 $(top_srcdir)/m4/userspec.m4 \ + $(top_srcdir)/m4/utimbuf.m4 $(top_srcdir)/m4/utime.m4 \ + $(top_srcdir)/m4/utimecmp.m4 $(top_srcdir)/m4/utimens.m4 \ + $(top_srcdir)/m4/utimes-null.m4 $(top_srcdir)/m4/utimes.m4 \ + $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ + $(top_srcdir)/m4/wchar.m4 $(top_srcdir)/m4/wchar_t.m4 \ + $(top_srcdir)/m4/wctype.m4 $(top_srcdir)/m4/wcwidth.m4 \ + $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xalloc.m4 \ + $(top_srcdir)/m4/xfts.m4 $(top_srcdir)/m4/xgetcwd.m4 \ + $(top_srcdir)/m4/xnanosleep.m4 $(top_srcdir)/m4/xstrndup.m4 \ + $(top_srcdir)/m4/xstrtod.m4 $(top_srcdir)/m4/xstrtol.m4 \ + $(top_srcdir)/m4/yesno.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/lib/config.h +CONFIG_CLEAN_FILES = +SCRIPTS = $(noinst_SCRIPTS) +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ABSOLUTE_DIRENT_H = @ABSOLUTE_DIRENT_H@ +ABSOLUTE_FCNTL_H = @ABSOLUTE_FCNTL_H@ +ABSOLUTE_INTTYPES_H = @ABSOLUTE_INTTYPES_H@ +ABSOLUTE_NETINET_IN_H = @ABSOLUTE_NETINET_IN_H@ +ABSOLUTE_STDINT_H = @ABSOLUTE_STDINT_H@ +ABSOLUTE_STDIO_H = @ABSOLUTE_STDIO_H@ +ABSOLUTE_STDLIB_H = @ABSOLUTE_STDLIB_H@ +ABSOLUTE_STRING_H = @ABSOLUTE_STRING_H@ +ABSOLUTE_SYS_SOCKET_H = @ABSOLUTE_SYS_SOCKET_H@ +ABSOLUTE_SYS_STAT_H = @ABSOLUTE_SYS_STAT_H@ +ABSOLUTE_SYS_TIME_H = @ABSOLUTE_SYS_TIME_H@ +ABSOLUTE_TIME_H = @ABSOLUTE_TIME_H@ +ABSOLUTE_UNISTD_H = @ABSOLUTE_UNISTD_H@ +ABSOLUTE_WCHAR_H = @ABSOLUTE_WCHAR_H@ +ABSOLUTE_WCTYPE_H = @ABSOLUTE_WCTYPE_H@ +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +ALLOCA_H = @ALLOCA_H@ +AMTAR = @AMTAR@ +ARPA_INET_H = @ARPA_INET_H@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ +BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ +BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ +BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ +BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFAULT_POSIX2_VERSION = @DEFAULT_POSIX2_VERSION@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DF_PROG = @DF_PROG@ +DIRENT_H = @DIRENT_H@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EOVERFLOW = @EOVERFLOW@ +EXEEXT = @EXEEXT@ +FCNTL_H = @FCNTL_H@ +FNMATCH_H = @FNMATCH_H@ +GETLOADAVG_LIBS = @GETLOADAVG_LIBS@ +GETOPT_H = @GETOPT_H@ +GLIBC21 = @GLIBC21@ +GMSGFMT = @GMSGFMT@ +GMSGFMT_015 = @GMSGFMT_015@ +GNULIB_CHOWN = @GNULIB_CHOWN@ +GNULIB_DUP2 = @GNULIB_DUP2@ +GNULIB_FCHDIR = @GNULIB_FCHDIR@ +GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ +GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ +GNULIB_GETCWD = @GNULIB_GETCWD@ +GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ +GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ +GNULIB_IMAXABS = @GNULIB_IMAXABS@ +GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ +GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ +GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ +GNULIB_MBSCHR = @GNULIB_MBSCHR@ +GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ +GNULIB_MBSLEN = @GNULIB_MBSLEN@ +GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ +GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ +GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ +GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ +GNULIB_MBSSEP = @GNULIB_MBSSEP@ +GNULIB_MBSSPN = @GNULIB_MBSSPN@ +GNULIB_MBSSTR = @GNULIB_MBSSTR@ +GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ +GNULIB_MEMMEM = @GNULIB_MEMMEM@ +GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ +GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ +GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ +GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ +GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ +GNULIB_READLINK = @GNULIB_READLINK@ +GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ +GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ +GNULIB_STPCPY = @GNULIB_STPCPY@ +GNULIB_STPNCPY = @GNULIB_STPNCPY@ +GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ +GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ +GNULIB_STRDUP = @GNULIB_STRDUP@ +GNULIB_STRNDUP = @GNULIB_STRNDUP@ +GNULIB_STRNLEN = @GNULIB_STRNLEN@ +GNULIB_STRPBRK = @GNULIB_STRPBRK@ +GNULIB_STRSEP = @GNULIB_STRSEP@ +GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ +GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ +GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ +GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ +GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ +GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ +GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ +GNU_PACKAGE = @GNU_PACKAGE@ +GREP = @GREP@ +HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ +HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ +HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ +HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ +HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ +HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ +HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ +HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@ +HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ +HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ +HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ +HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ +HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ +HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ +HAVE_DUP2 = @HAVE_DUP2@ +HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ +HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ +HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ +HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ +HAVE_MEMPCPY = @HAVE_MEMPCPY@ +HAVE_MKDTEMP = @HAVE_MKDTEMP@ +HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ +HAVE_READLINK = @HAVE_READLINK@ +HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ +HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ +HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ +HAVE_STDINT_H = @HAVE_STDINT_H@ +HAVE_STPCPY = @HAVE_STPCPY@ +HAVE_STPNCPY = @HAVE_STPNCPY@ +HAVE_STRCASECMP = @HAVE_STRCASECMP@ +HAVE_STRCASESTR = @HAVE_STRCASESTR@ +HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ +HAVE_STRNDUP = @HAVE_STRNDUP@ +HAVE_STRPBRK = @HAVE_STRPBRK@ +HAVE_STRSEP = @HAVE_STRSEP@ +HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ +HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ +HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ +HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ +HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ +HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ +HAVE_UNISTD_H = @HAVE_UNISTD_H@ +HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ +HAVE_WCTYPE_H = @HAVE_WCTYPE_H@ +HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ +HAVE_WINT_T = @HAVE_WINT_T@ +HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ +HAVE__BOOL = @HAVE__BOOL@ +HELP2MAN = @HELP2MAN@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +INTTYPES_H = @INTTYPES_H@ +KMEM_GROUP = @KMEM_GROUP@ +LDFLAGS = @LDFLAGS@ +LIBCOREUTILS_LIBDEPS = @LIBCOREUTILS_LIBDEPS@ +LIBCOREUTILS_LTLIBDEPS = @LIBCOREUTILS_LTLIBDEPS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIB_ACL = @LIB_ACL@ +LIB_ACL_TRIVIAL = @LIB_ACL_TRIVIAL@ +LIB_CLOCK_GETTIME = @LIB_CLOCK_GETTIME@ +LIB_CRYPT = @LIB_CRYPT@ +LIB_EACCESS = @LIB_EACCESS@ +LIB_FDATASYNC = @LIB_FDATASYNC@ +LIB_GETHRXTIME = @LIB_GETHRXTIME@ +LIB_NANOSLEEP = @LIB_NANOSLEEP@ +LN_S = @LN_S@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MAN = @MAN@ +MKDIR_P = @MKDIR_P@ +MSGFMT = @MSGFMT@ +MSGFMT_015 = @MSGFMT_015@ +MSGMERGE = @MSGMERGE@ +NEED_SETGID = @NEED_SETGID@ +NETINET_IN_H = @NETINET_IN_H@ +OBJEXT = @OBJEXT@ +OPTIONAL_BIN_PROGS = @OPTIONAL_BIN_PROGS@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PERL = @PERL@ +POSUB = @POSUB@ +POW_LIB = @POW_LIB@ +PRIPTR_PREFIX = @PRIPTR_PREFIX@ +PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ +PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ +RANLIB = @RANLIB@ +REPLACE_CHOWN = @REPLACE_CHOWN@ +REPLACE_FCHDIR = @REPLACE_FCHDIR@ +REPLACE_FPRINTF = @REPLACE_FPRINTF@ +REPLACE_GETCWD = @REPLACE_GETCWD@ +REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ +REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ +REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ +REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ +REPLACE_PRINTF = @REPLACE_PRINTF@ +REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ +REPLACE_SPRINTF = @REPLACE_SPRINTF@ +REPLACE_STRPTIME = @REPLACE_STRPTIME@ +REPLACE_TIMEGM = @REPLACE_TIMEGM@ +REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ +REPLACE_VPRINTF = @REPLACE_VPRINTF@ +REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ +REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ +SEQ_LIBM = @SEQ_LIBM@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ +SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ +STDBOOL_H = @STDBOOL_H@ +STDINT_H = @STDINT_H@ +STRIP = @STRIP@ +SYS_SOCKET_H = @SYS_SOCKET_H@ +SYS_STAT_H = @SYS_STAT_H@ +SYS_TIME_H = @SYS_TIME_H@ +SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ +TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ +U = @U@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WCHAR_H = @WCHAR_H@ +WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ +WCTYPE_H = @WCTYPE_H@ +WINT_T_SUFFIX = @WINT_T_SUFFIX@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_015 = @XGETTEXT_015@ +YACC = @YACC@ +YFLAGS = @YFLAGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +gl_LIBOBJS = @gl_LIBOBJS@ +gl_LTLIBOBJS = @gl_LTLIBOBJS@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +x = sort +explicit = +maint_gen = n1.I n1.X n2.I n2.X n3.I n3.X n4.I n4.X n5.I n5.X n6.I n6.X n7.I \ +n7.X n8a.I n8a.X n8b.I n8b.X n9a.I n9a.X n9b.I n9b.X n10a.I n10a.X n10b.I \ +n10b.X n11a.I n11a.X n11b.I n11b.X 01a.I 01a.X 02a.I 02a.X 02b.I 02b.X 02c.I \ +02c.X 02d.I 02d.X 02e.I 02e.X 02m.I 02m.X 02n.I 02n.X 02o.I 02o.X 02p.I 02p.X \ +03a.I 03a.X 03b.I 03b.X 03c.I 03c.X 03d.I 03d.X 03e.I 03e.X 03f.I 03f.X 03g.I \ +03g.X 03h.I 03h.X 03i.I 03i.X 04a.I 04a.X 04b.I 04b.X 04c.I 04c.X 04d.I 04d.X \ +04e.I 04e.X 05a.I 05a.X 05b.I 05b.X 05c.I 05c.X 05d.I 05d.X 05e.I 05e.X 05f.I \ +05f.X 06a.I 06a.X 06b.I 06b.X 06c.I 06c.X 06d.I 06d.X 06e.I 06e.X 06f.I 06f.X \ +07a.I 07a.X 07b.I 07b.X 07c.I 07c.X 07d.I 07d.X 08a.I 08a.X 08b.I 08b.X 09a.I \ +09a.X 09b.I 09b.X 09c.I 09c.X 09d.I 09d.X 10a.I 10a.X 10b.I 10b.X 10c.I 10c.X \ +10d.I 10d.X 10a0.I 10a0.X 10a1.I 10a1.X 10a2.I 10a2.X 10e.I 10e.X 10f.I 10f.X \ +10g.I 10g.X 11a.I 11a.X 11b.I 11b.X 11c.I 11c.X 11d.I 11d.X 12a.I 12a.X 12b.I \ +12b.X 12c.I 12c.X 12d.I 12d.X 13a.I 13a.X 13b.I 13b.X 14a.I 14a.X 14b.I 14b.X \ +15a.I 15a.X 15b.I 15b.X 15c.I 15c.X 15d.I 15d.X 15e.I 15e.X 16a.I 16a.X 17.I \ +17.X 18a.I 18a.X 18b.I 18b.X 18c.I 18c.X 18d.I 18d.X 18e.I 18e.X 19a.I 19a.X \ +19b.I 19b.X 20a.I 20a.X 21a.I 21a.X 21b.I 21b.X 21c.I 21c.X 21d.I 21d.X 21e.I \ +21e.X 21f.I 21f.X 21g.I 21g.X 22a.I 22a.X 22b.I 22b.X no-file1.X o-no-file1.X \ +create-empty.X neg-nls.I neg-nls.X nul-nls.I nul-nls.X use-nl.I use-nl.X o2.I \ +o2.X incompat1.I incompat1.X incompat2.I incompat2.X incompat3.I incompat3.X \ +incompat4.I incompat4.X incompat5.I incompat5.X incompat6.I incompat6.X \ +nul-tab.I nul-tab.X bigfield.I bigfield.X + +run_gen = n1.O n1.E n2.O n2.E n3.O n3.E n4.O n4.E n5.O n5.E n6.O n6.E n7.O \ +n7.E n8a.O n8a.E n8b.O n8b.E n9a.O n9a.E n9b.O n9b.E n10a.O n10a.E n10b.O \ +n10b.E n11a.O n11a.E n11b.O n11b.E 01a.O 01a.E 02a.O 02a.E 02b.O 02b.E 02c.O \ +02c.E 02d.O 02d.E 02e.O 02e.E 02m.O 02m.E 02n.O 02n.E 02o.O 02o.E 02p.O 02p.E \ +03a.O 03a.E 03b.O 03b.E 03c.O 03c.E 03d.O 03d.E 03e.O 03e.E 03f.O 03f.E 03g.O \ +03g.E 03h.O 03h.E 03i.O 03i.E 04a.O 04a.E 04b.O 04b.E 04c.O 04c.E 04d.O 04d.E \ +04e.O 04e.E 05a.O 05a.E 05b.O 05b.E 05c.O 05c.E 05d.O 05d.E 05e.O 05e.E 05f.O \ +05f.E 06a.O 06a.E 06b.O 06b.E 06c.O 06c.E 06d.O 06d.E 06e.O 06e.E 06f.O 06f.E \ +07a.O 07a.E 07b.O 07b.E 07c.O 07c.E 07d.O 07d.E 08a.O 08a.E 08b.O 08b.E 09a.O \ +09a.E 09b.O 09b.E 09c.O 09c.E 09d.O 09d.E 10a.O 10a.E 10b.O 10b.E 10c.O 10c.E \ +10d.O 10d.E 10a0.O 10a0.E 10a1.O 10a1.E 10a2.O 10a2.E 10e.O 10e.E 10f.O 10f.E \ +10g.O 10g.E 11a.O 11a.E 11b.O 11b.E 11c.O 11c.E 11d.O 11d.E 12a.O 12a.E 12b.O \ +12b.E 12c.O 12c.E 12d.O 12d.E 13a.O 13a.E 13b.O 13b.E 14a.O 14a.E 14b.O 14b.E \ +15a.O 15a.E 15b.O 15b.E 15c.O 15c.E 15d.O 15d.E 15e.O 15e.E 16a.O 16a.E 17.O \ +17.E 18a.O 18a.E 18b.O 18b.E 18c.O 18c.E 18d.O 18d.E 18e.O 18e.E 19a.O 19a.E \ +19b.O 19b.E 20a.O 20a.E 21a.O 21a.E 21b.O 21b.E 21c.O 21c.E 21d.O 21d.E 21e.O \ +21e.E 21f.O 21f.E 21g.O 21g.E 22a.O 22a.E 22b.O 22b.E no-file1.O no-file1.E \ +o-no-file1.O o-no-file1.E create-empty.O create-empty.E neg-nls.O neg-nls.E \ +nul-nls.O nul-nls.E use-nl.O use-nl.E o2.O o2.E incompat1.O incompat1.E \ +incompat2.O incompat2.E incompat3.O incompat3.E incompat4.O incompat4.E \ +incompat5.O incompat5.E incompat6.O incompat6.E nul-tab.O nul-tab.E \ +bigfield.O bigfield.E + +EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen) +noinst_SCRIPTS = $x-tests +TESTS_ENVIRONMENT = \ + CU_TEST_NAME=`basename $(abs_srcdir)`,$$tst \ + PATH="$(VG_PATH_PREFIX)`pwd`/../../src$(PATH_SEPARATOR)$$PATH" + +editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,$(srcdir),g' +TESTS = $x-tests +mk_script = $(srcdir)/../mk-script +MAINTAINERCLEANFILES = $x-tests $(maint_gen) +CLEANFILES = $(run_gen) +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/sort/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu tests/sort/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +check-TESTS: $(TESTS) + @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \ + srcdir=$(srcdir); export srcdir; \ + list=' $(TESTS) '; \ + if test -n "$$list"; then \ + for tst in $$list; do \ + if test -f ./$$tst; then dir=./; \ + elif test -f $$tst; then dir=; \ + else dir="$(srcdir)/"; fi; \ + if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *$$ws$$tst$$ws*) \ + xpass=`expr $$xpass + 1`; \ + failed=`expr $$failed + 1`; \ + echo "XPASS: $$tst"; \ + ;; \ + *) \ + echo "PASS: $$tst"; \ + ;; \ + esac; \ + elif test $$? -ne 77; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *$$ws$$tst$$ws*) \ + xfail=`expr $$xfail + 1`; \ + echo "XFAIL: $$tst"; \ + ;; \ + *) \ + failed=`expr $$failed + 1`; \ + echo "FAIL: $$tst"; \ + ;; \ + esac; \ + else \ + skip=`expr $$skip + 1`; \ + echo "SKIP: $$tst"; \ + fi; \ + done; \ + if test "$$failed" -eq 0; then \ + if test "$$xfail" -eq 0; then \ + banner="All $$all tests passed"; \ + else \ + banner="All $$all tests behaved as expected ($$xfail expected failures)"; \ + fi; \ + else \ + if test "$$xpass" -eq 0; then \ + banner="$$failed of $$all tests failed"; \ + else \ + banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \ + fi; \ + fi; \ + dashes="$$banner"; \ + skipped=""; \ + if test "$$skip" -ne 0; then \ + skipped="($$skip tests were not run)"; \ + test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ + dashes="$$skipped"; \ + fi; \ + report=""; \ + if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ + report="Please report to $(PACKAGE_BUGREPORT)"; \ + test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ + dashes="$$report"; \ + fi; \ + dashes=`echo "$$dashes" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + test -z "$$skipped" || echo "$$skipped"; \ + test -z "$$report" || echo "$$report"; \ + echo "$$dashes"; \ + test "$$failed" -eq 0; \ + else :; fi + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) check-TESTS +check: check-am +all-am: Makefile $(SCRIPTS) +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-exec-am: + +install-html: install-html-am + +install-info: install-info-am + +install-man: + +install-pdf: install-pdf-am + +install-ps: install-ps-am + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-TESTS check-am clean clean-generic \ + distclean distclean-generic distdir dvi dvi-am html html-am \ + info info-am install install-am install-data install-data-am \ + install-dvi install-dvi-am install-exec install-exec-am \ + install-html install-html-am install-info install-info-am \ + install-man install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \ + uninstall-am + +$(srcdir)/$x-tests: $(mk_script) Test.pm Makefile.am + test '$x' = test && prog=../../src/$x || prog=$x; \ + $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) $$prog > $@.n + mv $@.n $@ + chmod 755 $@ + +check: $(maint_gen) + +$(srcdir)/Makefile.am: ../Makefile.am.in Test.pm $(mk_script) + rm -f $@ $@t + sed -n '1,/^##test-files-begin/p' $(srcdir)/../Makefile.am.in > $@t + tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \ + echo "x = $$tool" >> $@t + $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> $@t + sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> $@t + chmod -w $@t + mv $@t $@ +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/tests/sort/Test.pm b/tests/sort/Test.pm new file mode 100755 index 0000000..dc41d92 --- /dev/null +++ b/tests/sort/Test.pm @@ -0,0 +1,292 @@ +# -*-perl-*- +# Test "sort". + +# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, +# 2006 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301, USA. + +package Test; +require 5.002; +use strict; + +# Tell sort to accept old-style options like `+1'. +$Test::env_default = ['_POSIX2_VERSION=199209']; + +my @tv = ( +#test options input expected-output expected-return-code +# +["n1", '-n', ".01\n0\n", "0\n.01\n", 0], +["n2", '-n', ".02\n.01\n", ".01\n.02\n", 0], +["n3", '-n', ".02\n.00\n", ".00\n.02\n", 0], +["n4", '-n', ".02\n.000\n", ".000\n.02\n", 0], +["n5", '-n', ".021\n.029\n", ".021\n.029\n", 0], + +["n6", '-n', ".02\n.0*\n", ".0*\n.02\n", 0], +["n7", '-n', ".02\n.*\n", ".*\n.02\n", 0], +["n8a", '-s -n -k1,1', ".0a\n.0b\n", ".0a\n.0b\n", 0], +["n8b", '-s -n -k1,1', ".0b\n.0a\n", ".0b\n.0a\n", 0], +["n9a", '-s -n -k1,1', ".000a\n.000b\n", ".000a\n.000b\n", 0], +["n9b", '-s -n -k1,1', ".000b\n.000a\n", ".000b\n.000a\n", 0], +["n10a", '-s -n -k1,1', ".00a\n.000b\n", ".00a\n.000b\n", 0], +["n10b", '-s -n -k1,1', ".00b\n.000a\n", ".00b\n.000a\n", 0], +["n11a", '-s -n -k1,1', ".01a\n.010\n", ".01a\n.010\n", 0], +["n11b", '-s -n -k1,1', ".010\n.01a\n", ".010\n.01a\n", 0], + +["01a", '', "A\nB\nC\n", "A\nB\nC\n", 0], +# +["02a", '-c', "A\nB\nC\n", '', 0], +["02b", '-c', "A\nC\nB\n", '', 1], +["02c", '-c -k1,1', "a\na b\n", '', 0], +["02d", '-C', "A\nB\nC\n", '', 0], +["02e", '-C', "A\nC\nB\n", '', 1], +# This should fail because there are duplicate keys +["02m", '-cu', "A\nA\n", '', 1], +["02n", '-cu', "A\nB\n", '', 0], +["02o", '-cu', "A\nB\nB\n", '', 1], +["02p", '-cu', "B\nA\nB\n", '', 1], +# +["03a", '-k1', "B\nA\n", "A\nB\n", 0], +["03b", '-k1,1', "B\nA\n", "A\nB\n", 0], +["03c", '-k1 -k2', "A b\nA a\n", "A a\nA b\n", 0], +# Fail with a diagnostic when -k specifies field == 0. +["03d", '-k0', "", "", 2], +# Fail with a diagnostic when -k specifies character == 0. +["03e", '-k1.0', "", "", 2], +["03f", '-k1.1,-k0', "", "", 2], +# This is ok. +["03g", '-k1.1,1.0', "", "", 0], +# This is equivalent to 3f. +["03h", '-k1.1,1', "", "", 0], +# This too, is equivalent to 3f. +["03i", '-k1,1', "", "", 0], +# +["04a", '-nc', "2\n11\n", "", 0], +["04b", '-n', "11\n2\n", "2\n11\n", 0], +["04c", '-k1n', "11\n2\n", "2\n11\n", 0], +["04d", '-k1', "11\n2\n", "11\n2\n", 0], +["04e", '-k2', "ignored B\nz-ig A\n", "z-ig A\nignored B\n", 0], +# +["05a", '-k1,2', "A B\nA A\n", "A A\nA B\n", 0], +["05b", '-k1,2', "A B A\nA A Z\n", "A A Z\nA B A\n", 0], +["05c", '-k1 -k2', "A B A\nA A Z\n", "A A Z\nA B A\n", 0], +["05d", '-k2,2', "A B A\nA A Z\n", "A A Z\nA B A\n", 0], +["05e", '-k2,2', "A B Z\nA A A\n", "A A A\nA B Z\n", 0], +["05f", '-k2,2', "A B A\nA A Z\n", "A A Z\nA B A\n", 0], +# +["06a", '-k 1,2', "A B\nA A\n", "A A\nA B\n", 0], +["06b", '-k 1,2', "A B A\nA A Z\n", "A A Z\nA B A\n", 0], +["06c", '-k 1 -k 2', "A B A\nA A Z\n", "A A Z\nA B A\n", 0], +["06d", '-k 2,2', "A B A\nA A Z\n", "A A Z\nA B A\n", 0], +["06e", '-k 2,2', "A B Z\nA A A\n", "A A A\nA B Z\n", 0], +["06f", '-k 2,2', "A B A\nA A Z\n", "A A Z\nA B A\n", 0], +# +["07a", '-k 2,3', "9 a b\n7 a a\n", "7 a a\n9 a b\n", 0], +["07b", '-k 2,3', "a a b\nz a a\n", "z a a\na a b\n", 0], +["07c", '-k 2,3', "y k b\nz k a\n", "z k a\ny k b\n", 0], +["07d", '+1 -3', "y k b\nz k a\n", "z k a\ny k b\n", 0], +# +# report an error for `.' without following char spec +["08a", '-k 2.,3', "", "", 2], +# report an error for `,' without following POS2 +["08b", '-k 2,', "", "", 2], +# +# Test new -g option. +["09a", '-g', "1e2\n2e1\n", "2e1\n1e2\n", 0], +# Make sure -n works how we expect. +["09b", '-n', "1e2\n2e1\n", "1e2\n2e1\n", 0], +["09c", '-n', "2e1\n1e2\n", "1e2\n2e1\n", 0], +["09d", '-k2g', "a 1e2\nb 2e1\n", "b 2e1\na 1e2\n", 0], +# +# Bug reported by Roger Peel <R.Peel@ee.surrey.ac.uk> +["10a", '-t : -k 2.2,2.2', ":ba\n:ab\n", ":ba\n:ab\n", 0], +# Equivalent to above, but using obsolescent `+pos -pos' option syntax. +["10b", '-t : +1.1 -1.2', ":ba\n:ab\n", ":ba\n:ab\n", 0], +# +# The same as the preceding two, but with input lines reversed. +["10c", '-t : -k 2.2,2.2', ":ab\n:ba\n", ":ba\n:ab\n", 0], +# Equivalent to above, but using obsolescent `+pos -pos' option syntax. +["10d", '-t : +1.1 -1.2', ":ab\n:ba\n", ":ba\n:ab\n", 0], +# Try without -t... +# But note that we have to count the delimiting space at the beginning +# of each field that has it. +["10a0", '-k 2.3,2.3', "z ba\nz ab\n", "z ba\nz ab\n", 0], +["10a1", '-k 1.2,1.2', "ba\nab\n", "ba\nab\n", 0], +["10a2", '-b -k 2.2,2.2', "z ba\nz ab\n", "z ba\nz ab\n", 0], +# +# An even simpler example demonstrating the bug. +["10e", '-k 1.2,1.2', "ab\nba\n", "ba\nab\n", 0], +# +# The way sort works on these inputs (10f and 10g) seems wrong to me. +# See May 30 ChangeLog entry. POSIX doesn't seem to say one way or +# the other, but that's the way all other sort implementations work. +["10f", '-t : -k 1.3,1.3', ":ab\n:ba\n", ":ba\n:ab\n", 0], +["10g", '-k 1.4,1.4', "a ab\nb ba\n", "b ba\na ab\n", 0], +# +# Exercise bug re using -b to skip trailing blanks. +["11a", '-t: -k1,1b -k2,2', "a\t:a\na :b\n", "a\t:a\na :b\n", 0], +["11b", '-t: -k1,1b -k2,2', "a :b\na\t:a\n", "a\t:a\na :b\n", 0], +["11c", '-t: -k2,2b -k3,3', "z:a\t:a\na :b\n", "z:a\t:a\na :b\n", 0], +# Before 1.22m, the first key comparison reported equality. +# With 1.22m, they compare different: "a" sorts before "a\n", +# and the second key spec isn't even used. +["11d", '-t: -k2,2b -k3,3', "z:a :b\na\t:a\n", "a\t:a\nz:a :b\n", 0], +# +# Exercise bug re comparing `-' and integers. +["12a", '-n -t: +1', "a:1\nb:-\n", "b:-\na:1\n", 0], +["12b", '-n -t: +1', "b:-\na:1\n", "b:-\na:1\n", 0], +# Try some other (e.g. `X') invalid character. +["12c", '-n -t: +1', "a:1\nb:X\n", "b:X\na:1\n", 0], +["12d", '-n -t: +1', "b:X\na:1\n", "b:X\na:1\n", 0], +# From Karl Heuer +["13a", '+0.1n', "axx\nb-1\n", "b-1\naxx\n", 0], +["13b", '+0.1n', "b-1\naxx\n", "b-1\naxx\n", 0], +# +# From Carl Johnson <carlj@cjlinux.home.org> +["14a", '-d -u', "mal\nmal-\nmala\n", "mal\nmala\n", 0], +# Be sure to fix the (translate && ignore) case in keycompare. +["14b", '-f -d -u', "mal\nmal-\nmala\n", "mal\nmala\n", 0], +# +# Experiment with -i. +["15a", '-i -u', "a\na\1\n", "a\n", 0], +["15b", '-i -u', "a\n\1a\n", "a\n", 0], +["15c", '-i -u', "a\1\na\n", "a\1\n", 0], +["15d", '-i -u', "\1a\na\n", "\1a\n", 0], +["15e", '-i -u', "a\n\1\1\1\1\1a\1\1\1\1\n", "a\n", 0], + +# From Erick Branderhorst -- fixed around 1.19e +["16a", '-f', + "éminence\nüberhaupt\n's-Gravenhage\naëroclub\nAag\naagtappels\n", + "'s-Gravenhage\nAag\naagtappels\naëroclub\néminence\nüberhaupt\n", + 0], + +# This provokes a one-byte memory overrun of a malloc'd block for versions +# of sort from textutils-1.19p and before. +["17", '-c', "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n", "", 0], + +# POSIX says -n no longer implies -b, so here we're comparing ` 9' and `10'. +["18a", '-k1.1,1.2n', " 901\n100\n", " 901\n100\n", 0], + +# Just like above, because the global `-b' has no effect on the +# key specifier when a key-specific option (`n' in this case) is used. +["18b", '-b -k1.1,1.2n', " 901\n100\n", " 901\n100\n", 0], + +# Here we're comparing ` 90' and `10', because the `b' on the key-end specifier +# makes sort ignore leading blanks when determining that key's *end*. +["18c", '-k1.1,1.2nb', " 901\n100\n", "100\n 901\n", 0], + +# Here we're comparing `9' and `10', because the `b' on the key-start specifier +# makes sort ignore leading blanks when determining that key's *start*. +["18d", '-k1.1b,1.2n', " 901\n100\n", " 901\n100\n", 0], + +# This compares `90' and `10', as it ignores leading blanks for both +# key start and key end. +["18e", '-nb -k1.1,1.2', " 901\n100\n", "100\n 901\n", 0], + +# This looks odd, but works properly -- 2nd keyspec is never +# used because all lines are different. +["19a", '+0 +1nr', "b 2\nb 1\nb 3\n", "b 1\nb 2\nb 3\n", 0], + +# The test *intended* by the author of the above, but using the +# more-intuitive POSIX-style -k options. +["19b", '-k1,1 -k2nr', "b 2\nb 1\nb 3\n", "b 3\nb 2\nb 1\n", 0], + +# This test failed when sort-1.22 was compiled on a Next x86 system +# without optimization. Without optimization gcc uses the buggy version +# of memcmp in the Next C library. With optimization, gcc uses its +# (working) builtin version. Test case form William Lewis. +["20a", '', + "_________U__free\n_________U__malloc\n_________U__abort\n_________U__memcpy\n_________U__memset\n_________U_dyld_stub_binding_helper\n_________U__malloc\n_________U___iob\n_________U__abort\n_________U__fprintf\n", + "_________U___iob\n_________U__abort\n_________U__abort\n_________U__fprintf\n_________U__free\n_________U__malloc\n_________U__malloc\n_________U__memcpy\n_________U__memset\n_________U_dyld_stub_binding_helper\n", + 0], + +# Demonstrate that folding changes the ordering of e.g. A, a, and _ +# because while they normally (in the C locale) collate like A, _, a, +# when using -f, `a' is compared as if it were `A'. +["21a", '', "A\na\n_\n", "A\n_\na\n", 0], +["21b", '-f', "A\na\n_\n", "A\na\n_\n", 0], +["21c", '-f', "a\nA\n_\n", "A\na\n_\n", 0], +["21d", '-f', "_\na\nA\n", "A\na\n_\n", 0], +["21e", '-f', "a\n_\nA\n", "A\na\n_\n", 0], +["21f", '-fs', "A\na\n_\n", "A\na\n_\n", 0], +["21g", '-fu', "a\n_\n", "a\n_\n", 0], + +# This test failed until 1.22f. From Zvi Har'El. +["22a", '-k 2,2fd -k 1,1r', "3 b\n4 B\n", "4 B\n3 b\n", 0], +["22b", '-k 2,2d -k 1,1r', "3 b\n4 b\n", "4 b\n3 b\n", 0], + +["no-file1", 'no-file', {}, '', 2], +# This test failed until 1.22f. Sort didn't give an error. +# From Will Edgington. +["o-no-file1", '-o no-such-file no-such-file', {}, '', 2], + +["create-empty", '-o no/such/file /dev/null', {}, '', 2], + +# From Paul Eggert. This was fixed in textutils-1.22k. +["neg-nls", '-n', "-1\n-9\n", "-9\n-1\n", 0], + +# From Paul Eggert. This was fixed in textutils-1.22m. +# The bug was visible only when using the internationalized sorting code +# (i.e., not when configured with --disable-nls). +["nul-nls", '', "\0b\n\0a\n", "\0a\n\0b\n", 0], + +# Paul Eggert wrote: +# I tested the revised `sort' against Solaris `sort', and found a +# discrepancy that turns out to be a longstanding bug in GNU sort. +# POSIX.2 specifies that a newline is part of the input line, and should +# be significant during comparison; but with GNU sort the newline is +# insignificant. Here is an example of the bug: +# +# $ od -c t +# 0000000 \n \t \n +# 0000003 +# $ sort t | od -c +# 0000000 \n \t \n +# 0000003 +# +# The correct output of the latter command should be +# +# 0000000 \t \n \n +# 0000003 +# +# because \t comes before \n in the collating sequence, and the trailing +# \n's are part of the input line. +["use-nl", '', "\n\t\n", "\n\t\n", 0], + +# Specifying two -o options should evoke a failure +["o2", '-o x -o y', '', '', 2], + +# Specifying incompatible options should evoke a failure. +["incompat1", '-in', '', '', 2], +["incompat2", '-fR', '', '', 2], +["incompat3", '-dfgiMnR', '', '', 2], +["incompat4", '-c -o /dev/null', '', '', 2], +["incompat5", '-C -o /dev/null', '', '', 2], +["incompat6", '-cC', '', '', 2], + +# -t '\0' is accepted, as of coreutils-5.0.91 +['nul-tab', "-k2,2 -t '\\0'", "a\0z\01\nb\0y\02\n", "b\0y\02\na\0z\01\n", 0], + +["bigfield", '-k 340282366920938463463374607431768211456', + "2\n1\n", "1\n2\n", 0], +); + +sub test_vector +{ + return @tv; +} + +1; diff --git a/tests/sort/bigfield.I b/tests/sort/bigfield.I new file mode 100644 index 0000000..5f1d0ec --- /dev/null +++ b/tests/sort/bigfield.I @@ -0,0 +1,2 @@ +2 +1 diff --git a/tests/sort/bigfield.X b/tests/sort/bigfield.X new file mode 100644 index 0000000..1191247 --- /dev/null +++ b/tests/sort/bigfield.X @@ -0,0 +1,2 @@ +1 +2 diff --git a/tests/sort/create-empty.X b/tests/sort/create-empty.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/create-empty.X diff --git a/tests/sort/incompat1.I b/tests/sort/incompat1.I new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/incompat1.I diff --git a/tests/sort/incompat1.X b/tests/sort/incompat1.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/incompat1.X diff --git a/tests/sort/incompat2.I b/tests/sort/incompat2.I new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/incompat2.I diff --git a/tests/sort/incompat2.X b/tests/sort/incompat2.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/incompat2.X diff --git a/tests/sort/incompat3.I b/tests/sort/incompat3.I new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/incompat3.I diff --git a/tests/sort/incompat3.X b/tests/sort/incompat3.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/incompat3.X diff --git a/tests/sort/incompat4.I b/tests/sort/incompat4.I new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/incompat4.I diff --git a/tests/sort/incompat4.X b/tests/sort/incompat4.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/incompat4.X diff --git a/tests/sort/incompat5.I b/tests/sort/incompat5.I new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/incompat5.I diff --git a/tests/sort/incompat5.X b/tests/sort/incompat5.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/incompat5.X diff --git a/tests/sort/incompat6.I b/tests/sort/incompat6.I new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/incompat6.I diff --git a/tests/sort/incompat6.X b/tests/sort/incompat6.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/incompat6.X diff --git a/tests/sort/n1.I b/tests/sort/n1.I new file mode 100644 index 0000000..15a8658 --- /dev/null +++ b/tests/sort/n1.I @@ -0,0 +1,2 @@ +.01 +0 diff --git a/tests/sort/n1.X b/tests/sort/n1.X new file mode 100644 index 0000000..ac95bf5 --- /dev/null +++ b/tests/sort/n1.X @@ -0,0 +1,2 @@ +0 +.01 diff --git a/tests/sort/n10a.I b/tests/sort/n10a.I new file mode 100644 index 0000000..35fd8fa --- /dev/null +++ b/tests/sort/n10a.I @@ -0,0 +1,2 @@ +.00a +.000b diff --git a/tests/sort/n10a.X b/tests/sort/n10a.X new file mode 100644 index 0000000..35fd8fa --- /dev/null +++ b/tests/sort/n10a.X @@ -0,0 +1,2 @@ +.00a +.000b diff --git a/tests/sort/n10b.I b/tests/sort/n10b.I new file mode 100644 index 0000000..2536a13 --- /dev/null +++ b/tests/sort/n10b.I @@ -0,0 +1,2 @@ +.00b +.000a diff --git a/tests/sort/n10b.X b/tests/sort/n10b.X new file mode 100644 index 0000000..2536a13 --- /dev/null +++ b/tests/sort/n10b.X @@ -0,0 +1,2 @@ +.00b +.000a diff --git a/tests/sort/n11a.I b/tests/sort/n11a.I new file mode 100644 index 0000000..5be7d18 --- /dev/null +++ b/tests/sort/n11a.I @@ -0,0 +1,2 @@ +.01a +.010 diff --git a/tests/sort/n11a.X b/tests/sort/n11a.X new file mode 100644 index 0000000..5be7d18 --- /dev/null +++ b/tests/sort/n11a.X @@ -0,0 +1,2 @@ +.01a +.010 diff --git a/tests/sort/n11b.I b/tests/sort/n11b.I new file mode 100644 index 0000000..4db49c1 --- /dev/null +++ b/tests/sort/n11b.I @@ -0,0 +1,2 @@ +.010 +.01a diff --git a/tests/sort/n11b.X b/tests/sort/n11b.X new file mode 100644 index 0000000..4db49c1 --- /dev/null +++ b/tests/sort/n11b.X @@ -0,0 +1,2 @@ +.010 +.01a diff --git a/tests/sort/n2.I b/tests/sort/n2.I new file mode 100644 index 0000000..038764d --- /dev/null +++ b/tests/sort/n2.I @@ -0,0 +1,2 @@ +.02 +.01 diff --git a/tests/sort/n2.X b/tests/sort/n2.X new file mode 100644 index 0000000..bbd0dc3 --- /dev/null +++ b/tests/sort/n2.X @@ -0,0 +1,2 @@ +.01 +.02 diff --git a/tests/sort/n3.I b/tests/sort/n3.I new file mode 100644 index 0000000..34f3784 --- /dev/null +++ b/tests/sort/n3.I @@ -0,0 +1,2 @@ +.02 +.00 diff --git a/tests/sort/n3.X b/tests/sort/n3.X new file mode 100644 index 0000000..1b19098 --- /dev/null +++ b/tests/sort/n3.X @@ -0,0 +1,2 @@ +.00 +.02 diff --git a/tests/sort/n4.I b/tests/sort/n4.I new file mode 100644 index 0000000..cf84dba --- /dev/null +++ b/tests/sort/n4.I @@ -0,0 +1,2 @@ +.02 +.000 diff --git a/tests/sort/n4.X b/tests/sort/n4.X new file mode 100644 index 0000000..7b59936 --- /dev/null +++ b/tests/sort/n4.X @@ -0,0 +1,2 @@ +.000 +.02 diff --git a/tests/sort/n5.I b/tests/sort/n5.I new file mode 100644 index 0000000..a3cdd85 --- /dev/null +++ b/tests/sort/n5.I @@ -0,0 +1,2 @@ +.021 +.029 diff --git a/tests/sort/n5.X b/tests/sort/n5.X new file mode 100644 index 0000000..a3cdd85 --- /dev/null +++ b/tests/sort/n5.X @@ -0,0 +1,2 @@ +.021 +.029 diff --git a/tests/sort/n6.I b/tests/sort/n6.I new file mode 100644 index 0000000..129faa4 --- /dev/null +++ b/tests/sort/n6.I @@ -0,0 +1,2 @@ +.02 +.0* diff --git a/tests/sort/n6.X b/tests/sort/n6.X new file mode 100644 index 0000000..429a41c --- /dev/null +++ b/tests/sort/n6.X @@ -0,0 +1,2 @@ +.0* +.02 diff --git a/tests/sort/n7.I b/tests/sort/n7.I new file mode 100644 index 0000000..a427053 --- /dev/null +++ b/tests/sort/n7.I @@ -0,0 +1,2 @@ +.02 +.* diff --git a/tests/sort/n7.X b/tests/sort/n7.X new file mode 100644 index 0000000..55ac4cd --- /dev/null +++ b/tests/sort/n7.X @@ -0,0 +1,2 @@ +.* +.02 diff --git a/tests/sort/n8a.I b/tests/sort/n8a.I new file mode 100644 index 0000000..293928a --- /dev/null +++ b/tests/sort/n8a.I @@ -0,0 +1,2 @@ +.0a +.0b diff --git a/tests/sort/n8a.X b/tests/sort/n8a.X new file mode 100644 index 0000000..293928a --- /dev/null +++ b/tests/sort/n8a.X @@ -0,0 +1,2 @@ +.0a +.0b diff --git a/tests/sort/n8b.I b/tests/sort/n8b.I new file mode 100644 index 0000000..47707ab --- /dev/null +++ b/tests/sort/n8b.I @@ -0,0 +1,2 @@ +.0b +.0a diff --git a/tests/sort/n8b.X b/tests/sort/n8b.X new file mode 100644 index 0000000..47707ab --- /dev/null +++ b/tests/sort/n8b.X @@ -0,0 +1,2 @@ +.0b +.0a diff --git a/tests/sort/n9a.I b/tests/sort/n9a.I new file mode 100644 index 0000000..649135d --- /dev/null +++ b/tests/sort/n9a.I @@ -0,0 +1,2 @@ +.000a +.000b diff --git a/tests/sort/n9a.X b/tests/sort/n9a.X new file mode 100644 index 0000000..649135d --- /dev/null +++ b/tests/sort/n9a.X @@ -0,0 +1,2 @@ +.000a +.000b diff --git a/tests/sort/n9b.I b/tests/sort/n9b.I new file mode 100644 index 0000000..cf0da76 --- /dev/null +++ b/tests/sort/n9b.I @@ -0,0 +1,2 @@ +.000b +.000a diff --git a/tests/sort/n9b.X b/tests/sort/n9b.X new file mode 100644 index 0000000..cf0da76 --- /dev/null +++ b/tests/sort/n9b.X @@ -0,0 +1,2 @@ +.000b +.000a diff --git a/tests/sort/neg-nls.I b/tests/sort/neg-nls.I new file mode 100644 index 0000000..bd7264e --- /dev/null +++ b/tests/sort/neg-nls.I @@ -0,0 +1,2 @@ +-1 +-9 diff --git a/tests/sort/neg-nls.X b/tests/sort/neg-nls.X new file mode 100644 index 0000000..554f033 --- /dev/null +++ b/tests/sort/neg-nls.X @@ -0,0 +1,2 @@ +-9 +-1 diff --git a/tests/sort/no-file1.X b/tests/sort/no-file1.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/no-file1.X diff --git a/tests/sort/nul-nls.I b/tests/sort/nul-nls.I Binary files differnew file mode 100644 index 0000000..9576182 --- /dev/null +++ b/tests/sort/nul-nls.I diff --git a/tests/sort/nul-nls.X b/tests/sort/nul-nls.X Binary files differnew file mode 100644 index 0000000..ef5193f --- /dev/null +++ b/tests/sort/nul-nls.X diff --git a/tests/sort/nul-tab.I b/tests/sort/nul-tab.I Binary files differnew file mode 100644 index 0000000..cc5890d --- /dev/null +++ b/tests/sort/nul-tab.I diff --git a/tests/sort/nul-tab.X b/tests/sort/nul-tab.X Binary files differnew file mode 100644 index 0000000..42e765b --- /dev/null +++ b/tests/sort/nul-tab.X diff --git a/tests/sort/o-no-file1.X b/tests/sort/o-no-file1.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/o-no-file1.X diff --git a/tests/sort/o2.I b/tests/sort/o2.I new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/o2.I diff --git a/tests/sort/o2.X b/tests/sort/o2.X new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/sort/o2.X diff --git a/tests/sort/sort-tests b/tests/sort/sort-tests new file mode 100755 index 0000000..94c3fcf --- /dev/null +++ b/tests/sort/sort-tests @@ -0,0 +1,2223 @@ +#! /bin/sh +# This script was generated automatically by mk-script. +case $# in + 0) xx='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 -C $srcdir/02d.I > 02d.O 2> 02d.E +code=$? +if test $code != 0; then + $echo "Test 02d(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2 + errors=`expr $errors + 1` +else + cmp 02d.O $srcdir/02d.X > /dev/null 2>&1 + case $? in + 0) if test "$VERBOSE"; then $echo "passed 02d(_POSIX2_VERSION=199209)"; fi;; + 1) $echo "Test 02d(_POSIX2_VERSION=199209) failed: files 02d.O and $srcdir/02d.X differ" 1>&2 + (diff -c 02d.O $srcdir/02d.X) 2> /dev/null + errors=`expr $errors + 1`;; + 2) $echo "Test 02d(_POSIX2_VERSION=199209) may have failed." 1>&2 + $echo The command "cmp 02d.O $srcdir/02d.X" failed. 1>&2 + errors=`expr $errors + 1`;; + esac +fi +test -s 02d.E || rm -f 02d.E +_POSIX2_VERSION=199209 $xx -C $srcdir/02e.I > 02e.O 2> 02e.E +code=$? +if test $code != 1; then + $echo "Test 02e(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 1" 1>&2 + errors=`expr $errors + 1` +else + cmp 02e.O $srcdir/02e.X > /dev/null 2>&1 + case $? in + 0) if test "$VERBOSE"; then $echo "passed 02e(_POSIX2_VERSION=199209)"; fi;; + 1) $echo "Test 02e(_POSIX2_VERSION=199209) failed: files 02e.O and $srcdir/02e.X differ" 1>&2 + (diff -c 02e.O $srcdir/02e.X) 2> /dev/null + errors=`expr $errors + 1`;; + 2) $echo "Test 02e(_POSIX2_VERSION=199209) may have failed." 1>&2 + $echo The command "cmp 02e.O $srcdir/02e.X" failed. 1>&2 + errors=`expr $errors + 1`;; + esac +fi +test -s 02e.E || rm -f 02e.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 -in $srcdir/incompat1.I > incompat1.O 2> incompat1.E +code=$? +if test $code != 2; then + $echo "Test incompat1(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 2" 1>&2 + errors=`expr $errors + 1` +else + cmp incompat1.O $srcdir/incompat1.X > /dev/null 2>&1 + case $? in + 0) if test "$VERBOSE"; then $echo "passed incompat1(_POSIX2_VERSION=199209)"; fi;; + 1) $echo "Test incompat1(_POSIX2_VERSION=199209) failed: files incompat1.O and $srcdir/incompat1.X differ" 1>&2 + (diff -c incompat1.O $srcdir/incompat1.X) 2> /dev/null + errors=`expr $errors + 1`;; + 2) $echo "Test incompat1(_POSIX2_VERSION=199209) may have failed." 1>&2 + $echo The command "cmp incompat1.O $srcdir/incompat1.X" failed. 1>&2 + errors=`expr $errors + 1`;; + esac +fi +test -s incompat1.E || rm -f incompat1.E +_POSIX2_VERSION=199209 $xx -fR $srcdir/incompat2.I > incompat2.O 2> incompat2.E +code=$? +if test $code != 2; then + $echo "Test incompat2(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 2" 1>&2 + errors=`expr $errors + 1` +else + cmp incompat2.O $srcdir/incompat2.X > /dev/null 2>&1 + case $? in + 0) if test "$VERBOSE"; then $echo "passed incompat2(_POSIX2_VERSION=199209)"; fi;; + 1) $echo "Test incompat2(_POSIX2_VERSION=199209) failed: files incompat2.O and $srcdir/incompat2.X differ" 1>&2 + (diff -c incompat2.O $srcdir/incompat2.X) 2> /dev/null + errors=`expr $errors + 1`;; + 2) $echo "Test incompat2(_POSIX2_VERSION=199209) may have failed." 1>&2 + $echo The command "cmp incompat2.O $srcdir/incompat2.X" failed. 1>&2 + errors=`expr $errors + 1`;; + esac +fi +test -s incompat2.E || rm -f incompat2.E +_POSIX2_VERSION=199209 $xx -dfgiMnR $srcdir/incompat3.I > incompat3.O 2> incompat3.E +code=$? +if test $code != 2; then + $echo "Test incompat3(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 2" 1>&2 + errors=`expr $errors + 1` +else + cmp incompat3.O $srcdir/incompat3.X > /dev/null 2>&1 + case $? in + 0) if test "$VERBOSE"; then $echo "passed incompat3(_POSIX2_VERSION=199209)"; fi;; + 1) $echo "Test incompat3(_POSIX2_VERSION=199209) failed: files incompat3.O and $srcdir/incompat3.X differ" 1>&2 + (diff -c incompat3.O $srcdir/incompat3.X) 2> /dev/null + errors=`expr $errors + 1`;; + 2) $echo "Test incompat3(_POSIX2_VERSION=199209) may have failed." 1>&2 + $echo The command "cmp incompat3.O $srcdir/incompat3.X" failed. 1>&2 + errors=`expr $errors + 1`;; + esac +fi +test -s incompat3.E || rm -f incompat3.E +_POSIX2_VERSION=199209 $xx -c -o /dev/null $srcdir/incompat4.I > incompat4.O 2> incompat4.E +code=$? +if test $code != 2; then + $echo "Test incompat4(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 2" 1>&2 + errors=`expr $errors + 1` +else + cmp incompat4.O $srcdir/incompat4.X > /dev/null 2>&1 + case $? in + 0) if test "$VERBOSE"; then $echo "passed incompat4(_POSIX2_VERSION=199209)"; fi;; + 1) $echo "Test incompat4(_POSIX2_VERSION=199209) failed: files incompat4.O and $srcdir/incompat4.X differ" 1>&2 + (diff -c incompat4.O $srcdir/incompat4.X) 2> /dev/null + errors=`expr $errors + 1`;; + 2) $echo "Test incompat4(_POSIX2_VERSION=199209) may have failed." 1>&2 + $echo The command "cmp incompat4.O $srcdir/incompat4.X" failed. 1>&2 + errors=`expr $errors + 1`;; + esac +fi +test -s incompat4.E || rm -f incompat4.E +_POSIX2_VERSION=199209 $xx -C -o /dev/null $srcdir/incompat5.I > incompat5.O 2> incompat5.E +code=$? +if test $code != 2; then + $echo "Test incompat5(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 2" 1>&2 + errors=`expr $errors + 1` +else + cmp incompat5.O $srcdir/incompat5.X > /dev/null 2>&1 + case $? in + 0) if test "$VERBOSE"; then $echo "passed incompat5(_POSIX2_VERSION=199209)"; fi;; + 1) $echo "Test incompat5(_POSIX2_VERSION=199209) failed: files incompat5.O and $srcdir/incompat5.X differ" 1>&2 + (diff -c incompat5.O $srcdir/incompat5.X) 2> /dev/null + errors=`expr $errors + 1`;; + 2) $echo "Test incompat5(_POSIX2_VERSION=199209) may have failed." 1>&2 + $echo The command "cmp incompat5.O $srcdir/incompat5.X" failed. 1>&2 + errors=`expr $errors + 1`;; + esac +fi +test -s incompat5.E || rm -f incompat5.E +_POSIX2_VERSION=199209 $xx -cC $srcdir/incompat6.I > incompat6.O 2> incompat6.E +code=$? +if test $code != 2; then + $echo "Test incompat6(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 2" 1>&2 + errors=`expr $errors + 1` +else + cmp incompat6.O $srcdir/incompat6.X > /dev/null 2>&1 + case $? in + 0) if test "$VERBOSE"; then $echo "passed incompat6(_POSIX2_VERSION=199209)"; fi;; + 1) $echo "Test incompat6(_POSIX2_VERSION=199209) failed: files incompat6.O and $srcdir/incompat6.X differ" 1>&2 + (diff -c incompat6.O $srcdir/incompat6.X) 2> /dev/null + errors=`expr $errors + 1`;; + 2) $echo "Test incompat6(_POSIX2_VERSION=199209) may have failed." 1>&2 + $echo The command "cmp incompat6.O $srcdir/incompat6.X" failed. 1>&2 + errors=`expr $errors + 1`;; + esac +fi +test -s incompat6.E || rm -f incompat6.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 +_POSIX2_VERSION=199209 $xx -k 340282366920938463463374607431768211456 $srcdir/bigfield.I > bigfield.O 2> bigfield.E +code=$? +if test $code != 0; then + $echo "Test bigfield(_POSIX2_VERSION=199209) failed: $xx return code $code differs from expected value 0" 1>&2 + errors=`expr $errors + 1` +else + cmp bigfield.O $srcdir/bigfield.X > /dev/null 2>&1 + case $? in + 0) if test "$VERBOSE"; then $echo "passed bigfield(_POSIX2_VERSION=199209)"; fi;; + 1) $echo "Test bigfield(_POSIX2_VERSION=199209) failed: files bigfield.O and $srcdir/bigfield.X differ" 1>&2 + (diff -c bigfield.O $srcdir/bigfield.X) 2> /dev/null + errors=`expr $errors + 1`;; + 2) $echo "Test bigfield(_POSIX2_VERSION=199209) may have failed." 1>&2 + $echo The command "cmp bigfield.O $srcdir/bigfield.X" failed. 1>&2 + errors=`expr $errors + 1`;; + esac +fi +test -s bigfield.E || rm -f bigfield.E +if test $errors = 0; then + $echo Passed all 122 tests. 1>&2 +else + $echo Failed $errors tests. 1>&2 +fi +test $errors = 0 || errors=1 +exit $errors diff --git a/tests/sort/use-nl.I b/tests/sort/use-nl.I new file mode 100644 index 0000000..adeb14f --- /dev/null +++ b/tests/sort/use-nl.I @@ -0,0 +1,2 @@ + + diff --git a/tests/sort/use-nl.X b/tests/sort/use-nl.X new file mode 100644 index 0000000..adeb14f --- /dev/null +++ b/tests/sort/use-nl.X @@ -0,0 +1,2 @@ + + |