aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-read/read_r.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-read/read_r.tests')
-rwxr-xr-xshell/hush_test/hush-read/read_r.tests6
1 files changed, 4 insertions, 2 deletions
diff --git a/shell/hush_test/hush-read/read_r.tests b/shell/hush_test/hush-read/read_r.tests
index 2c4cc6106..1f0a18afc 100755
--- a/shell/hush_test/hush-read/read_r.tests
+++ b/shell/hush_test/hush-read/read_r.tests
@@ -1,2 +1,4 @@
1echo -e 'test\\\nbest' | (read reply; echo "$reply") 1echo 'test\
2echo -e 'test\\\nbest' | (read -r reply; echo "$reply") 2best' | (read reply; echo "$reply")
3echo 'test\
4best' | (read -r reply; echo "$reply")