summaryrefslogtreecommitdiffhomepage
path: root/testsuite/sed/sed-handles-unsatisfied-backrefs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/sed/sed-handles-unsatisfied-backrefs')
-rw-r--r--testsuite/sed/sed-handles-unsatisfied-backrefs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/sed/sed-handles-unsatisfied-backrefs b/testsuite/sed/sed-handles-unsatisfied-backrefs
new file mode 100644
index 000000000..61bff8837
--- /dev/null
+++ b/testsuite/sed/sed-handles-unsatisfied-backrefs
@@ -0,0 +1,6 @@
+busybox sed -e 's/.*root=/\1/' >output <<EOF
+BOOT_IMAGE=vmlinuz root=/dev/hda5 initrd=init1
+EOF
+cmp -s output - <<EOF
+/dev/hda5 initrd=init1
+EOF