aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-09-15 05:53:28 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-09-15 05:53:28 +0000
commit36fc18445975ba7a60d7f9cdf15ba07ce97e813d (patch)
treeeaf810981c313c6fbb9c94c1f51112f586efaf3b
parentd6e547ab7f35982e224d8c7a3c280e0873b1a89c (diff)
downloadbusybox-w32-36fc18445975ba7a60d7f9cdf15ba07ce97e813d.tar.gz
busybox-w32-36fc18445975ba7a60d7f9cdf15ba07ce97e813d.tar.bz2
busybox-w32-36fc18445975ba7a60d7f9cdf15ba07ce97e813d.zip
Test for use of newline in regex's, this feature is used by most
configure scripts. git-svn-id: svn://busybox.net/trunk/busybox@7519 69ca8d6d-28ef-0310-b511-8ec308f3f277
-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