← Commit list

744a20d8f

Denys Vlasenko
Denys Vlasenko
2018-03-02
SUCCESS Duration: 145s

Subject

shell: two new tests, both fail for ash and hush

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/ash_test/ash-quoting/bkslash_in_varexp.right+5 -0
@@ -0,0 +1,5 @@
+Nothing:
+Nothing:
+Nothing:
+Nothing:
+Ok:0
shell/ash_test/ash-quoting/bkslash_in_varexp.tests+6 -0
@@ -0,0 +1,6 @@
+x=a
+echo Nothing:${x#[a\]]}
+echo Nothing:"${x#[a\]]}"
+echo Nothing:${x%[a\]]}
+echo Nothing:"${x%[a\]]}"
+echo Ok:$?
shell/ash_test/ash-quoting/squote_in_varexp.right+5 -0
@@ -0,0 +1,5 @@
+z
+z
+y
+y
+Ok:0
shell/ash_test/ash-quoting/squote_in_varexp.tests+6 -0
@@ -0,0 +1,6 @@
+x=yz
+echo ${x#'y'}
+echo "${x#'y'}"
+echo ${x%'z'}
+echo "${x%'z'}"
+echo Ok:$?
shell/hush_test/hush-quoting/bkslash_in_varexp.right+5 -0
@@ -0,0 +1,5 @@
+Nothing:
+Nothing:
+Nothing:
+Nothing:
+Ok:0
shell/hush_test/hush-quoting/bkslash_in_varexp.tests+6 -0
@@ -0,0 +1,6 @@
+x=a
+echo Nothing:${x#[a\]]}
+echo Nothing:"${x#[a\]]}"
+echo Nothing:${x%[a\]]}
+echo Nothing:"${x%[a\]]}"
+echo Ok:$?
shell/hush_test/hush-quoting/squote_in_varexp.right+5 -0
@@ -0,0 +1,5 @@
+z
+z
+y
+y
+Ok:0
shell/hush_test/hush-quoting/squote_in_varexp.tests+6 -0
@@ -0,0 +1,6 @@
+x=yz
+echo ${x#'y'}
+echo "${x#'y'}"
+echo ${x%'z'}
+echo "${x%'z'}"
+echo Ok:$?