projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
417622c
)
testsuite: add some tests for ash
author
Ron Yorston
<rmy@pobox.com>
Mon, 18 May 2015 08:13:21 +0000
(10:13 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 18 May 2015 08:13:21 +0000
(10:13 +0200)
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-1.right
[new file with mode: 0644]
patch
|
blob
shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-1.tests
[new file with mode: 0755]
patch
|
blob
shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-2.right
[new file with mode: 0644]
patch
|
blob
shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-2.tests
[new file with mode: 0755]
patch
|
blob
shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-3.right
[new file with mode: 0644]
patch
|
blob
shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-3.tests
[new file with mode: 0755]
patch
|
blob
shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-4.right
[new file with mode: 0644]
patch
|
blob
shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-4.tests
[new file with mode: 0755]
patch
|
blob
shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-5.right
[new file with mode: 0644]
patch
|
blob
shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-5.tests
[new file with mode: 0755]
patch
|
blob
diff --git a/shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-1.right
b/shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-1.right
new file mode 100644
(file)
index 0000000..
2da3272
--- /dev/null
+++ b/
shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-1.right
@@ -0,0
+1
@@
+a_\_z_c
diff --git a/shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-1.tests
b/shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-1.tests
new file mode 100755
(executable)
index 0000000..
e4529c6
--- /dev/null
+++ b/
shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-1.tests
@@ -0,0
+1,2
@@
+v="a\bc"
+echo ${v/\\b/_\\_\z_}
diff --git a/shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-2.right
b/shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-2.right
new file mode 100644
(file)
index 0000000..
7447c0a
--- /dev/null
+++ b/
shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-2.right
@@ -0,0
+1
@@
+ax/yc
diff --git a/shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-2.tests
b/shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-2.tests
new file mode 100755
(executable)
index 0000000..
2db1db8
--- /dev/null
+++ b/
shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-2.tests
@@ -0,0
+1,2
@@
+v="abc"
+echo ${v/b/x/y}
diff --git a/shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-3.right
b/shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-3.right
new file mode 100644
(file)
index 0000000..
5ea5ff8
--- /dev/null
+++ b/
shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-3.right
@@ -0,0
+1
@@
+axcabc
diff --git a/shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-3.tests
b/shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-3.tests
new file mode 100755
(executable)
index 0000000..
0935e45
--- /dev/null
+++ b/
shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-3.tests
@@ -0,0
+1,2
@@
+v="abcabc"
+echo ${v/b/x}
diff --git a/shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-4.right
b/shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-4.right
new file mode 100644
(file)
index 0000000..
46dd750
--- /dev/null
+++ b/
shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-4.right
@@ -0,0
+1
@@
+axcaxc
diff --git a/shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-4.tests
b/shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-4.tests
new file mode 100755
(executable)
index 0000000..
d8de843
--- /dev/null
+++ b/
shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-4.tests
@@ -0,0
+1,2
@@
+v="abcabc"
+echo ${v//b/x}
diff --git a/shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-5.right
b/shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-5.right
new file mode 100644
(file)
index 0000000..
699b27b
--- /dev/null
+++ b/
shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-5.right
@@ -0,0
+1
@@
+axc
diff --git a/shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-5.tests
b/shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-5.tests
new file mode 100755
(executable)
index 0000000..
5523888
--- /dev/null
+++ b/
shell/ash_test/ash-vars/var-pattern-replacement-in-parameter-expansion-5.tests
@@ -0,0
+1,2
@@
+v="ab/c"
+echo ${v/b\//x}