summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-09-25 16:43:10 -0700
committerZac Medico <zmedico@gentoo.org>2010-09-25 16:43:10 -0700
commit2ee4ad02ccad8ad8fc088b159b0b01ae049b821c (patch)
treebbc4797953dab82e6e672fddccff47818da05f51
parentAdd test cases for getconfig() bash compatibility with variables (diff)
downloadportage-2ee4ad02ccad8ad8fc088b159b0b01ae049b821c.tar.gz
portage-2ee4ad02ccad8ad8fc088b159b0b01ae049b821c.tar.bz2
portage-2ee4ad02ccad8ad8fc088b159b0b01ae049b821c.zip
Add non-essential backslashes for clarity in GetConfigTestCase.
-rw-r--r--pym/portage/tests/util/test_getconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/tests/util/test_getconfig.py b/pym/portage/tests/util/test_getconfig.py
index 3394b0624..5584db41e 100644
--- a/pym/portage/tests/util/test_getconfig.py
+++ b/pym/portage/tests/util/test_getconfig.py
@@ -15,7 +15,7 @@ class GetConfigTestCase(TestCase):
_cases = {
'FETCHCOMMAND' : '/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"',
'FETCHCOMMAND_RSYNC' : 'rsync -avP "${URI}" "${DISTDIR}/${FILE}"',
- 'FETCHCOMMAND_SSH' : 'bash -c "x=\${2#ssh://} ; exec rsync -avP \\"\${x%%/*}:/\${x#*/}\\" \\"\$1\\"" rsync "${DISTDIR}/${FILE}" "${URI}"',
+ 'FETCHCOMMAND_SSH' : 'bash -c "x=\\${2#ssh://} ; exec rsync -avP \\"\\${x%%/*}:/\\${x#*/}\\" \\"\\$1\\"" rsync "${DISTDIR}/${FILE}" "${URI}"',
'PORTAGE_ELOG_MAILSUBJECT' : '[portage] ebuild log for ${PACKAGE} on ${HOST}'
}