summaryrefslogtreecommitdiffhomepage
path: root/shell/hush_test
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-04-09 07:50:18 +0000
committerMike Frysinger <vapier@gentoo.org>2009-04-09 07:50:18 +0000
commit327fd47f362843fc62fbee6169904c416ca13d11 (patch)
tree524e728ddf554e768912884d2e1baf11a97d3481 /shell/hush_test
parentc3d91952d66b76dd70d75d5fd3b8722eda1797b2 (diff)
skip some tests when fancy echo support is turned off
Diffstat (limited to 'shell/hush_test')
-rwxr-xr-xshell/hush_test/hush-parsing/escape1.tests2
-rwxr-xr-xshell/hush_test/hush-parsing/escape3.tests2
-rwxr-xr-xshell/hush_test/hush-psubst/tick3.tests2
3 files changed, 6 insertions, 0 deletions
diff --git a/shell/hush_test/hush-parsing/escape1.tests b/shell/hush_test/hush-parsing/escape1.tests
index 67cfd1fef..25ac96b25 100755
--- a/shell/hush_test/hush-parsing/escape1.tests
+++ b/shell/hush_test/hush-parsing/escape1.tests
@@ -1,3 +1,5 @@
+test "$CONFIG_FEATURE_FANCY_ECHO" = "y" || exit 77
+
echo "\\"
echo a"\\"b
echo '\\'
diff --git a/shell/hush_test/hush-parsing/escape3.tests b/shell/hush_test/hush-parsing/escape3.tests
index 111ed40a2..18705bd0c 100755
--- a/shell/hush_test/hush-parsing/escape3.tests
+++ b/shell/hush_test/hush-parsing/escape3.tests
@@ -1,3 +1,5 @@
+test "$CONFIG_FEATURE_FANCY_ECHO" = "y" || exit 77
+
v='a \ b \\ c \\\ d \\\\ e'
echo v: $v
echo v: "$v"
diff --git a/shell/hush_test/hush-psubst/tick3.tests b/shell/hush_test/hush-psubst/tick3.tests
index 2b055bb69..469c43c27 100755
--- a/shell/hush_test/hush-psubst/tick3.tests
+++ b/shell/hush_test/hush-psubst/tick3.tests
@@ -1,3 +1,5 @@
+test "$CONFIG_FEATURE_FANCY_ECHO" = "y" || exit 77
+
TEST=Q
# \` is special
echo `echo '\'TEST\`echo ZZ\`BEST`