START usr.bin/sed 2024-11-15T14:16:01Z ==== sedtest ==== sh /usr/src/regress/usr.bin/sed/sedtest.sh /usr/bin/sed sedtest.out diff /usr/src/regress/usr.bin/sed/sedtest.expected sedtest.out ==== substitute ==== sh /usr/src/regress/usr.bin/sed/substitute.sh ==== hanoi ==== /usr/bin/sed -f /usr/src/regress/usr.bin/sed/hanoi.sed /usr/src/regress/usr.bin/sed/hanoi.in > hanoi.out diff /usr/src/regress/usr.bin/sed/hanoi.expected hanoi.out ==== math ==== /usr/bin/sed -f /usr/src/regress/usr.bin/sed/math.sed /usr/src/regress/usr.bin/sed/math.in > math.out diff /usr/src/regress/usr.bin/sed/math.expected math.out ==== sierpinski ==== /usr/bin/sed -nf /usr/src/regress/usr.bin/sed/sierpinski.sed /usr/src/regress/usr.bin/sed/sierpinski.in > sierpinski.out diff /usr/src/regress/usr.bin/sed/sierpinski.expected sierpinski.out ==== negation ==== echo foo | /usr/bin/sed "1!!s/foo/bar/" > negation.out diff /usr/src/regress/usr.bin/sed/negation.expected negation.out ==== inplace ==== cp -f /usr/src/regress/usr.bin/sed/inplace.in inplace.txt /usr/bin/sed -i -f /usr/src/regress/usr.bin/sed/sierpinski.sed inplace.txt diff /usr/src/regress/usr.bin/sed/sierpinski.expected inplace.txt ==== inplace2 ==== cp -f /usr/src/regress/usr.bin/sed/inplace2.in inplace2.txt /usr/bin/sed -i 's/PROG/GROP/g' inplace2.txt diff /usr/src/regress/usr.bin/sed/inplace2.expected inplace2.txt ==== inplace3 ==== cp -f /usr/src/regress/usr.bin/sed/inplace3.in inplace3.txt /usr/bin/sed -i 's/#PermitRootLogin no/PermitRootLogin yes/g' inplace3.txt diff /usr/src/regress/usr.bin/sed/inplace3.expected inplace3.txt ==== commandl1 ==== printf 'a\nbb\n' | /usr/bin/sed -f /usr/src/regress/usr.bin/sed/commandl1.sed > commandl1.out diff /usr/src/regress/usr.bin/sed/commandl1.expected commandl1.out ==== commandl2 ==== printf 'abc' | /usr/bin/sed -f /usr/src/regress/usr.bin/sed/commandl2.sed > commandl2.out diff /usr/src/regress/usr.bin/sed/commandl2.expected commandl2.out ==== commandc1 ==== # New tests, currently failing, need fixes in sed. DISABLED ==== commandD1 ==== printf 'a\nbb\n' | /usr/bin/sed -f /usr/src/regress/usr.bin/sed/commandD1.sed > commandD1.out diff /usr/src/regress/usr.bin/sed/commandD1.expected commandD1.out ==== commandD2 ==== printf 'a\nbb\n\n' | /usr/bin/sed -f /usr/src/regress/usr.bin/sed/commandD2.sed > commandD2.out diff /usr/src/regress/usr.bin/sed/commandD2.expected commandD2.out PASS usr.bin/sed Duration 0m26.45s