From: Karl Hasselström Date: Sun, 29 Apr 2007 21:09:55 +0000 (+0200) Subject: dash doesn't do curly brace expansion, so avoid that X-Git-Tag: v0.14.3~268 X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/commitdiff_plain/fb336055610b2b028e59d4be21a971bd821f1baa dash doesn't do curly brace expansion, so avoid that 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 --- 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