Gitiles
Code Review
Sign In
gerrit.nordix.org
/
codeaurora
/
busybox
/
1c275de6a2b332d49355d02d3d8650aea33f1b87
/
.
/
testsuite
/
sed
/
sed-append-next-line
blob: 0621a319f701c2b304c005bd36363bc27be344d3 [
file
] [
log
] [
blame
]
# This will fail if CONFIG_FEATURE_SED_GNU_COMPATABILITY is defined
busybox sed
'N;p'
>
output
<<
EOF
a
b
c
EOF
set
+
e
cmp
-
s output
-
<<
EOF
a
b
a
b
c
EOF
if
[
$
?
!=
0
]
;
then
exit
0
;
fi
exit
1
;