summaryrefslogtreecommitdiff
path: root/tests/scripts/functions/strip
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts/functions/strip')
-rw-r--r--tests/scripts/functions/strip8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/scripts/functions/strip b/tests/scripts/functions/strip
index 1f487c0..8222433 100644
--- a/tests/scripts/functions/strip
+++ b/tests/scripts/functions/strip
@@ -34,6 +34,8 @@ all:
@echo '$(strip $(TEST2) )'
@echo '$(strip $(TEST3) )'
+space: ; @echo '$(strip ) $(strip )'
+
EOMAKE
# END of Contents of MAKEFILE
@@ -41,13 +43,15 @@ EOMAKE
close(MAKEFILE);
&run_make_with_options($makefile,"",&get_logfile);
-
-# Create the answer to what should be produced by this Makefile
$answer = "\"Is this TERMINAL fun? What makes you believe is this terminal fun? JAPAN is a WONDERFUL planet -- I wonder if we will ever reach their level of COMPARATIVE SHOPPING...\"
try this and this
and these test out some blank lines
";
+&compare_output($answer,&get_logfile(1));
+
+&run_make_with_options($makefile,"space",&get_logfile);
+$answer = " \n";
&compare_output($answer,&get_logfile(1));
1;