From 7b3512129799fe07195d188133605fde5c8c6e75 Mon Sep 17 00:00:00 2001
From: Glenn L McGrath <bug1@ihug.co.nz>
Date: Mon, 15 Sep 2003 05:53:28 +0000
Subject: Test for use of newline in regex's, this feature is used by most
 configure scripts.

---
 testsuite/sed/sed-regex-match-newline | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 testsuite/sed/sed-regex-match-newline

(limited to 'testsuite')

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 @@
+# FEATURE: CONFIG_FEATURE_SED_EMBEDED_NEWLINE
+busybox sed -n 'N;/a\nb/p'>output <<EOF
+a
+b
+c
+EOF
+cmp -s output - <<EOF
+a
+b
+EOF
-- 
cgit v1.2.3