diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-09-15 05:53:28 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-09-15 05:53:28 +0000 |
commit | 36fc18445975ba7a60d7f9cdf15ba07ce97e813d (patch) | |
tree | eaf810981c313c6fbb9c94c1f51112f586efaf3b | |
parent | d6e547ab7f35982e224d8c7a3c280e0873b1a89c (diff) | |
download | busybox-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-newline | 10 |
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 | ||
2 | busybox sed -n 'N;/a\nb/p'>output <<EOF | ||
3 | a | ||
4 | b | ||
5 | c | ||
6 | EOF | ||
7 | cmp -s output - <<EOF | ||
8 | a | ||
9 | b | ||
10 | EOF | ||