From 8d8335728a6fc8817c9db594480dd84eaa916b72 Mon Sep 17 00:00:00 2001 From: Ole Tange Date: Tue, 31 May 2011 20:04:46 +0200 Subject: [PATCH] Added simple test for --return of weirdly named file --- testsuite/tests-to-run/test61.sh | 8 ++++++++ testsuite/wanted-results/test61 | 2 ++ 2 files changed, 10 insertions(+) create mode 100644 testsuite/tests-to-run/test61.sh create mode 100644 testsuite/wanted-results/test61 diff --git a/testsuite/tests-to-run/test61.sh b/testsuite/tests-to-run/test61.sh new file mode 100644 index 00000000..79f99e41 --- /dev/null +++ b/testsuite/tests-to-run/test61.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +SERVER1=parallel-server3 +SERVER2=parallel-server2 + +echo '### Test --return of weirdly named file' +stdout parallel --return {} -vv -S $SERVER1 echo '>'{} ::: 'aa<${#}" b' +rm 'aa<${#}" b' diff --git a/testsuite/wanted-results/test61 b/testsuite/wanted-results/test61 new file mode 100644 index 00000000..8a69563c --- /dev/null +++ b/testsuite/wanted-results/test61 @@ -0,0 +1,2 @@ +### Test --return of weirdly named file +ssh parallel-server3 PARALLEL_SEQ=$PARALLEL_SEQ\;export PARALLEL_SEQ\;PARALLEL_PID=$PARALLEL_PID\;export PARALLEL_PID\; echo\ \>aa\\\<\\\${\\\#}\\\"\\\ b;_EXIT_status=$?; rsync -rlDzR -essh parallel-server3:././aa\\\<\\\${\\\#}\\\"\\\ b ./; exit $_EXIT_status;