summaryrefslogtreecommitdiffstats
path: root/tests/libptxdisttest.sh
diff options
context:
space:
mode:
authorJochen Frieling <j.frieling@pengutronix.de>2008-11-03 17:56:41 +0000
committerJochen Frieling <j.frieling@pengutronix.de>2008-11-03 17:56:41 +0000
commitcd477305ae1f027532181651c0552c60cabd4586 (patch)
treee9abaf31ef36f1a7e77476cbb225798153afdf1b /tests/libptxdisttest.sh
parent96515df2a789c72783ab07b70a2776abdbebb1a8 (diff)
downloadptxdist-cd477305ae1f027532181651c0552c60cabd4586.tar.gz
ptxdist-cd477305ae1f027532181651c0552c60cabd4586.tar.xz
* libptxdisttest.sh: add missing quoting
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9066 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'tests/libptxdisttest.sh')
-rw-r--r--tests/libptxdisttest.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/libptxdisttest.sh b/tests/libptxdisttest.sh
index 6b7924333..92694f000 100644
--- a/tests/libptxdisttest.sh
+++ b/tests/libptxdisttest.sh
@@ -256,19 +256,19 @@ remote_file() {
case "$2" in
'block')
echo "remote \"test -b $1\"" >> "$LOGFILE"
- remote "test -b $1" 2>> "$LOGFILE"
+ remote "test -b \"$1\"" 2>> "$LOGFILE"
;;
'character')
echo "remote \"test -c $1\"" >> "$LOGFILE"
- remote "test -c $1" 2>> "$LOGFILE"
+ remote "test -c \"$1\"" 2>> "$LOGFILE"
;;
'exists')
echo "remote \"test -e $1\"" >> "$LOGFILE"
- remote "test -e $1" 2>> "$LOGFILE"
+ remote "test -e \"$1\"" 2>> "$LOGFILE"
;;
'executable')
echo "remote \"test -x $1\"" >> "$LOGFILE"
- remote "test -x $1" 2>> "$LOGFILE"
+ remote "test -x \"$1\"" 2>> "$LOGFILE"
;;
*)
echo "Syntax error in test script $0" >> "$LOGFILE"