aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-09-15 05:53:28 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-09-15 05:53:28 +0000
commit7b3512129799fe07195d188133605fde5c8c6e75 (patch)
treeeaf810981c313c6fbb9c94c1f51112f586efaf3b
parent73116311e561212729debc1483c414aa184cc591 (diff)
downloadbusybox-w32-7b3512129799fe07195d188133605fde5c8c6e75.tar.gz
busybox-w32-7b3512129799fe07195d188133605fde5c8c6e75.tar.bz2
busybox-w32-7b3512129799fe07195d188133605fde5c8c6e75.zip
Test for use of newline in regex's, this feature is used by most
configure scripts.
-rw-r--r--testsuite/sed/sed-regex-match-newline10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/sed/sed-regex-match-newline b/testsuite/sed/sed-regex-match-newline
new file mode 100644
index 000000000..1057e1718
--- /dev/null
+++ b/testsuite/sed/sed-regex-match-newline
@@ -0,0 +1,10 @@
1# FEATURE: CONFIG_FEATURE_SED_EMBEDED_NEWLINE
2busybox sed -n 'N;/a\nb/p'>output <<EOF
3a
4b
5c
6EOF
7cmp -s output - <<EOF
8a
9b
10EOF