Actions
Feature #13061
closedImport sed tests from freebsd
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
Description
The illumos sed shares its roots with the one in FreeBSD. FreeBSD has a number of tests that would be useful to add to the util-test
package so that future changes to sed can be more easily regression tested.
Related issues
Updated by Andy Fiddaman almost 2 years ago
All tests pass when run using the sed
post 13051
% SED=../../../../../cmd/sed/sed ksh multi_test.ksh [PASS] 1 1.1 # Argument parsing - first type [PASS] 2 1.2 # Argument parsing - first type [PASS] 3 1.3 # Argument parsing - first type [PASS] 4 1.4 # Argument parsing - first type [PASS] 5 1.4.1 # Argument parsing - second type [PASS] 6 1.5 # Argument parsing - second type [PASS] 7 1.6 # Argument parsing - second type [PASS] 8 1.7 # Argument parsing - second type [PASS] 9 1.8 # Argument parsing - second type [PASS] 10 1.9 # Argument parsing - second type [PASS] 11 1.10 # Argument parsing - second type [PASS] 12 1.11 # Argument parsing - second type [PASS] 13 1.12 # Argument parsing - second type [PASS] 14 1.13 # Argument parsing - second type [PASS] 15 1.14 # Argument parsing - second type [PASS] 16 1.15 # Argument parsing - second type [PASS] 17 1.16 # Argument parsing - second type [PASS] 18 1.17 # Argument parsing - second type [PASS] 19 1.18 # Argument parsing - second type [PASS] 20 2.1 # Address ranges [PASS] 21 2.2 # Address ranges [PASS] 22 2.3 # Address ranges [PASS] 23 2.4 # Address ranges [PASS] 24 2.5 # Address ranges [PASS] 25 2.6 # Address ranges [PASS] 26 2.7 # Address ranges [PASS] 27 2.8 # Address ranges [PASS] 28 2.9 # Address ranges [PASS] 29 2.10 # Address ranges [PASS] 30 2.11 # Address ranges [PASS] 31 2.12 # Address ranges [PASS] 32 2.13 # Address ranges [PASS] 33 2.14 # Address ranges [PASS] 34 2.15 # Address ranges [PASS] 35 2.16 # Address ranges [PASS] 36 2.17 # Address ranges [PASS] 37 2.18 # Address ranges [PASS] 38 2.19 # Address ranges [PASS] 39 2.20 # Address ranges [PASS] 40 2.21 # Address ranges [PASS] 41 2.22 # Address ranges [PASS] 42 2.23 # Address ranges [PASS] 43 3.1 # Brace and other grouping [PASS] 44 3.2 # Brace and other grouping [PASS] 45 3.3 # Brace and other grouping [PASS] 46 3.4 # Brace and other grouping [PASS] 47 4.1 # Commands a c d and i [PASS] 48 4.2 # Commands a c d and i [PASS] 49 4.3 # Commands a c d and i [PASS] 50 4.4 # Commands a c d and i [PASS] 51 4.5 # Commands a c d and i [PASS] 52 4.6 # Commands a c d and i [PASS] 53 4.7 # Commands a c d and i [PASS] 54 4.8 # Commands a c d and i [PASS] 55 5.1 # Labels and branching [PASS] 56 5.2 # Labels and branching [PASS] 57 5.3 # Labels and branching [PASS] 58 5.4 # Labels and branching [PASS] 59 5.5 # Labels and branching [PASS] 60 5.6 # Labels and branching [PASS] 61 5.7 # Labels and branching [PASS] 62 5.8 # Labels and branching [PASS] 63 6.1 # Pattern space commands [PASS] 64 6.2 # Pattern space commands [PASS] 65 6.3 # Pattern space commands [PASS] 66 6.4 # Pattern space commands [PASS] 67 6.5 # Pattern space commands [PASS] 68 6.6 # Pattern space commands [PASS] 69 7.1 # Print and file routines [PASS] 70 7.2 # Print and file routines [PASS] 71 7.3 # Print and file routines [PASS] 72 7.4 # w results [PASS] 73 7.5 # w results [PASS] 74 7.6 # w results [PASS] 75 7.7 # w results [PASS] 76 7.8 # w results [PASS] 77 8.1 # Substitution commands [PASS] 78 8.2 # Substitution commands [PASS] 79 8.3 # Substitution commands [PASS] 80 8.4 # Substitution commands [PASS] 81 8.5 # Substitution commands [PASS] 82 8.6 # Substitution commands [PASS] 83 8.7 # Substitution commands [PASS] 84 8.8 # Substitution commands [PASS] 85 8.9 # Substitution commands [PASS] 86 8.10 # Substitution commands [PASS] 87 8.11 # Substitution commands [PASS] 88 8.12 # s wfile results [PASS] 89 8.13 # s wfile results [PASS] 90 8.14 # s wfile results [PASS] 91 8.15 # s wfile results [PASS] 92 8.16 # s wfile results [PASS] 93 8.17 # s wfile results [PASS] 94 8.18 # [ as an s delimiter and its escapes [PASS] 95 8.19 # [ as an s delimiter and its escapes [PASS] 96 8.20 # [ as an s delimiter and its escapes [PASS] 97 8.21 # \ in y command [PASS] 98 8.22 # \n in a character class [PASS] 99 8.23 # \n in a BRE [PASS] 100 9.1 # Error cases [PASS] 101 9.2 # Error cases [PASS] 102 9.3 # Error cases [PASS] 103 9.4 # Error cases [PASS] 104 9.5 # Error cases [PASS] 105 9.6 # Error cases [PASS] 106 9.7 # Error cases [PASS] 107 9.8 # Error cases [PASS] 108 9.9 # Error cases [PASS] 109 9.10 # Error cases [PASS] 110 9.11 # Error cases [PASS] 111 9.12 # Error cases [PASS] 112 9.13 # Error cases [PASS] 113 9.14 # Error cases [PASS] 114 9.15 # Error cases [PASS] 115 9.16 # Error cases [PASS] 116 9.17 # Error cases [PASS] 117 9.18 # Error cases [PASS] 118 9.19 # Error cases [PASS] 119 9.20 # Error cases [PASS] 120 9.21 # Error cases [PASS] 121 9.22 # Error cases [PASS] 122 9.23 # Error cases [PASS] 123 9.24 # Error cases [PASS] 124 9.25 # Error cases [PASS] 125 9.26 # Error cases [PASS] 126 9.27 # Error cases [PASS] 127 9.28 # Error cases [PASS] 128 9.29 # Error cases [PASS] 129 9.30 # Error cases [PASS] 130 9.31 # Error cases Pass/fail - 130/0
Updated by Andy Fiddaman almost 2 years ago
- Related to Bug #13051: sed: lastline check does not work properly with empty files added
Updated by Electric Monk almost 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
git commit cd94aa947d1e02a1c25259f2cf06c165d75aa4fa
commit cd94aa947d1e02a1c25259f2cf06c165d75aa4fa Author: Andy Fiddaman <omnios@citrus-it.co.uk> Date: 2020-08-25T21:00:12.000Z 13061 Import sed tests from freebsd Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
Actions