From: "Karl Hasselström" <kha@treskal.com>
To: Catalin Marinas <catalin.marinas@gmail.com>
Cc: git@vger.kernel.org
Subject: [StGIT PATCH 2/2] dash doesn't do curly brace expansion, so avoid that
Date: Sun, 29 Apr 2007 23:09:55 +0200 [thread overview]
Message-ID: <20070429210955.4004.31074.stgit@yoghurt> (raw)
In-Reply-To: <20070429210713.4004.60467.stgit@yoghurt>
From: Karl Hasselström <kha@treskal.com>
I have dash as /bin/sh, and it doesn't seem to expand stuff in curly
braces, which breaks t1800. Work around this by not using curly brace
expansion to generate test data.
Signed-off-by: Karl Hasselström <kha@treskal.com>
---
t/t1800-import.sh | 4 +---
t/t1800-import/foo.txt | 27 +++++++++++++++++++++++++++
2 files changed, 28 insertions(+), 3 deletions(-)
diff --git a/t/t1800-import.sh b/t/t1800-import.sh
index ed10fa8..8c8c9a0 100755
--- a/t/t1800-import.sh
+++ b/t/t1800-import.sh
@@ -6,9 +6,7 @@ test_description='Test the import command'
test_expect_success \
'Initialize the StGIT repository' \
'
- for x in {do,di,da}{be,bi,bo}{dam,dim,dum}; do
- echo $x
- done > foo.txt &&
+ cp ../t1800-import/foo.txt . &&
git add foo.txt &&
git commit -a -m "initial version" &&
stg init
diff --git a/t/t1800-import/foo.txt b/t/t1800-import/foo.txt
new file mode 100644
index 0000000..ad01662
--- /dev/null
+++ b/t/t1800-import/foo.txt
@@ -0,0 +1,27 @@
+dobedam
+dobedim
+dobedum
+dobidam
+dobidim
+dobidum
+dobodam
+dobodim
+dobodum
+dibedam
+dibedim
+dibedum
+dibidam
+dibidim
+dibidum
+dibodam
+dibodim
+dibodum
+dabedam
+dabedim
+dabedum
+dabidam
+dabidim
+dabidum
+dabodam
+dabodim
+dabodum
next prev parent reply other threads:[~2007-04-29 21:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-29 21:09 [StGIT PATCH 0/2] Make test suite work with dash as /bin/sh Karl Hasselström
2007-04-29 21:09 ` [StGIT PATCH 1/2] String comparison is done with "=", not "==" Karl Hasselström
2007-04-29 21:09 ` Karl Hasselström [this message]
2007-04-29 22:44 ` [StGIT PATCH 0/2] Make test suite work with dash as /bin/sh Catalin Marinas
2007-04-30 7:08 ` Karl Hasselström
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=20070429210955.4004.31074.stgit@yoghurt \
--to=kha@treskal.com \
--cc=catalin.marinas@gmail.com \
--cc=git@vger.kernel.org \
/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).