From: Alan Jenkins <alan.christopher.jenkins@googlemail.com>
To: jeffpc@josefsipek.net
Cc: git@vger.kernel.org,
Alan Jenkins <alan.christopher.jenkins@googlemail.com>
Subject: [GUILT 6/6] Allow the regression tests to be run from a directory with spaces in
Date: Wed, 28 Sep 2011 15:15:24 +0100 [thread overview]
Message-ID: <1317219324-10319-6-git-send-email-alan.christopher.jenkins@googlemail.com> (raw)
In-Reply-To: <1317219324-10319-1-git-send-email-alan.christopher.jenkins@googlemail.com>
sed -i regression/*.sh 's|source $REG_DIR/scaffold|source "$REG_DIR/scaffold"|'
Same as the previous patch: it turned out I don't need this,
but you might think it's a good idea anyway.
Signed-off-by: Alan Jenkins <alan.christopher.jenkins@googlemail.com>
---
regression/t-010.sh | 2 +-
regression/t-011.sh | 2 +-
regression/t-020.sh | 2 +-
regression/t-021.sh | 2 +-
regression/t-022.sh | 2 +-
regression/t-023.sh | 2 +-
regression/t-024.sh | 2 +-
regression/t-025.sh | 2 +-
regression/t-026.sh | 2 +-
regression/t-027.sh | 2 +-
regression/t-028.sh | 2 +-
regression/t-029.sh | 2 +-
regression/t-030.sh | 2 +-
regression/t-031.sh | 2 +-
regression/t-032.sh | 2 +-
regression/t-050.sh | 2 +-
regression/t-051.sh | 2 +-
regression/t-052.sh | 2 +-
regression/t-060.sh | 2 +-
19 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/regression/t-010.sh b/regression/t-010.sh
index 1fc88fa..9bbf32a 100755
--- a/regression/t-010.sh
+++ b/regression/t-010.sh
@@ -3,7 +3,7 @@
# Test the init code
#
-source $REG_DIR/scaffold
+source "$REG_DIR/scaffold"
function opts
{
diff --git a/regression/t-011.sh b/regression/t-011.sh
index fde7b90..55a72d7 100755
--- a/regression/t-011.sh
+++ b/regression/t-011.sh
@@ -4,7 +4,7 @@
# not guilt init'ed
#
-source $REG_DIR/scaffold
+source "$REG_DIR/scaffold"
cmd setup_git_repo
diff --git a/regression/t-020.sh b/regression/t-020.sh
index 6598b02..cdd08ba 100755
--- a/regression/t-020.sh
+++ b/regression/t-020.sh
@@ -3,7 +3,7 @@
# Test the push code
#
-source $REG_DIR/scaffold
+source "$REG_DIR/scaffold"
cmd setup_repo
diff --git a/regression/t-021.sh b/regression/t-021.sh
index 035973c..6337d7b 100755
--- a/regression/t-021.sh
+++ b/regression/t-021.sh
@@ -3,7 +3,7 @@
# Test the pop code
#
-source $REG_DIR/scaffold
+source "$REG_DIR/scaffold"
cmd setup_repo
diff --git a/regression/t-022.sh b/regression/t-022.sh
index e43dc0a..0fe345b 100755
--- a/regression/t-022.sh
+++ b/regression/t-022.sh
@@ -3,7 +3,7 @@
# Test the applied code
#
-source $REG_DIR/scaffold
+source "$REG_DIR/scaffold"
cmd setup_repo
diff --git a/regression/t-023.sh b/regression/t-023.sh
index 1e976fd..c0530d6 100755
--- a/regression/t-023.sh
+++ b/regression/t-023.sh
@@ -3,7 +3,7 @@
# Test the top code
#
-source $REG_DIR/scaffold
+source "$REG_DIR/scaffold"
cmd setup_repo
diff --git a/regression/t-024.sh b/regression/t-024.sh
index 9b11286..38f53aa 100755
--- a/regression/t-024.sh
+++ b/regression/t-024.sh
@@ -3,7 +3,7 @@
# Test the unapplied code
#
-source $REG_DIR/scaffold
+source "$REG_DIR/scaffold"
cmd setup_repo
diff --git a/regression/t-025.sh b/regression/t-025.sh
index 6aa9bd3..3824608 100755
--- a/regression/t-025.sh
+++ b/regression/t-025.sh
@@ -3,7 +3,7 @@
# Test the new code
#
-source $REG_DIR/scaffold
+source "$REG_DIR/scaffold"
cmd setup_repo
diff --git a/regression/t-026.sh b/regression/t-026.sh
index 5f29352..0ccdf85 100755
--- a/regression/t-026.sh
+++ b/regression/t-026.sh
@@ -3,7 +3,7 @@
# Test the delete code
#
-source $REG_DIR/scaffold
+source "$REG_DIR/scaffold"
cmd setup_repo
diff --git a/regression/t-027.sh b/regression/t-027.sh
index ee70229..2f5bb9f 100755
--- a/regression/t-027.sh
+++ b/regression/t-027.sh
@@ -3,7 +3,7 @@
# Test the refresh code
#
-source $REG_DIR/scaffold
+source "$REG_DIR/scaffold"
cmd setup_repo
diff --git a/regression/t-028.sh b/regression/t-028.sh
index 83fa879..8480100 100755
--- a/regression/t-028.sh
+++ b/regression/t-028.sh
@@ -3,7 +3,7 @@
# Test the header code
#
-source $REG_DIR/scaffold
+source "$REG_DIR/scaffold"
cmd setup_repo
diff --git a/regression/t-029.sh b/regression/t-029.sh
index 83e1d2b..e4036bf 100755
--- a/regression/t-029.sh
+++ b/regression/t-029.sh
@@ -5,7 +5,7 @@
# FIXME: test status file format upgrade code
-source $REG_DIR/scaffold
+source "$REG_DIR/scaffold"
cmd setup_repo
diff --git a/regression/t-030.sh b/regression/t-030.sh
index 0352948..06bd58f 100755
--- a/regression/t-030.sh
+++ b/regression/t-030.sh
@@ -3,7 +3,7 @@
# Test the commit code
#
-source $REG_DIR/scaffold
+source "$REG_DIR/scaffold"
cmd setup_repo
diff --git a/regression/t-031.sh b/regression/t-031.sh
index 9b5db6f..20c2a6b 100755
--- a/regression/t-031.sh
+++ b/regression/t-031.sh
@@ -3,7 +3,7 @@
# Test the fork code
#
-source $REG_DIR/scaffold
+source "$REG_DIR/scaffold"
cmd setup_repo
diff --git a/regression/t-032.sh b/regression/t-032.sh
index 3b32da5..b1d5f19 100755
--- a/regression/t-032.sh
+++ b/regression/t-032.sh
@@ -3,7 +3,7 @@
# Test the import code
#
-source $REG_DIR/scaffold
+source "$REG_DIR/scaffold"
cmd setup_repo
diff --git a/regression/t-050.sh b/regression/t-050.sh
index 82ac412..88be546 100755
--- a/regression/t-050.sh
+++ b/regression/t-050.sh
@@ -3,7 +3,7 @@
# Test the series code
#
-source $REG_DIR/scaffold
+source "$REG_DIR/scaffold"
cmd setup_repo
diff --git a/regression/t-051.sh b/regression/t-051.sh
index a05fcca..293459c 100755
--- a/regression/t-051.sh
+++ b/regression/t-051.sh
@@ -3,7 +3,7 @@
# Test the commands that use get_*_series, while applying guards
#
-source $REG_DIR/scaffold
+source "$REG_DIR/scaffold"
cmd setup_repo
diff --git a/regression/t-052.sh b/regression/t-052.sh
index e9c1a59..f8c60ab 100755
--- a/regression/t-052.sh
+++ b/regression/t-052.sh
@@ -3,7 +3,7 @@
# Test the commands that use get_*_series, while applying guards
#
-source $REG_DIR/scaffold
+source "$REG_DIR/scaffold"
cmd setup_repo
diff --git a/regression/t-060.sh b/regression/t-060.sh
index ec33d80..ebe93bd 100755
--- a/regression/t-060.sh
+++ b/regression/t-060.sh
@@ -3,7 +3,7 @@
# Test the guilt files code
#
-source $REG_DIR/scaffold
+source "$REG_DIR/scaffold"
cmd setup_repo
--
1.7.4.1
next prev parent reply other threads:[~2011-09-28 14:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-28 14:15 [GUILT 1/6] Refuse to push corrupt patches Alan Jenkins
2011-09-28 14:15 ` [GUILT 2/6] guilt-header: fix patch corruption Alan Jenkins
2011-09-28 14:15 ` [GUILT 3/6] Handle paths that contain spaces Alan Jenkins
2011-09-28 14:15 ` [GUILT 4/6] Run regression tests in a directory which contains spaces Alan Jenkins
2011-09-28 14:15 ` [GUILT 5/6] Allow guilt scripts to be run from " Alan Jenkins
2011-09-28 14:15 ` Alan Jenkins [this message]
2011-09-30 17:15 ` [GUILT 1/6] Refuse to push corrupt patches Josef 'Jeff' Sipek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1317219324-10319-6-git-send-email-alan.christopher.jenkins@googlemail.com \
--to=alan.christopher.jenkins@googlemail.com \
--cc=git@vger.kernel.org \
--cc=jeffpc@josefsipek.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).