All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Santi Béjar" <sbejar@gmail.com>
To: Git Mailing List <git@vger.kernel.org>
Subject: [PATCH 1/3] t/t5515-fetch-merge-logic.sh: Tests with "." as URL.
Date: Tue, 13 Mar 2007 17:25:53 +0100	[thread overview]
Message-ID: <87fy89f6um.fsf@gmail.com> (raw)


Signed-off-by: Santi Béjar <sbejar@gmail.com>
---
 t/t5515-fetch-merge-logic.sh                       |   18 ++++++++++--------
 t/t5515/fetch.br-unconfig_--tags_.                 |    1 +
 t/t5515/fetch.br-unconfig_.                        |    1 +
 t/t5515/fetch.br-unconfig_._one                    |    1 +
 ...r-unconfig_._one_tag_tag-one_tag_tag-three-file |    1 +
 t/t5515/fetch.br-unconfig_._one_two                |    1 +
 ...-unconfig_._tag_tag-one-tree_tag_tag-three-file |    1 +
 .../fetch.br-unconfig_._tag_tag-one_tag_tag-three  |    1 +
 t/t5515/fetch.master_--tags_.                      |    1 +
 t/t5515/fetch.master_.                             |    1 +
 t/t5515/fetch.master_._one                         |    1 +
 ...tch.master_._one_tag_tag-one_tag_tag-three-file |    1 +
 t/t5515/fetch.master_._one_two                     |    1 +
 ...ch.master_._tag_tag-one-tree_tag_tag-three-file |    1 +
 t/t5515/fetch.master_._tag_tag-one_tag_tag-three   |    1 +
 15 files changed, 24 insertions(+), 8 deletions(-)
 create mode 100644 t/t5515/fetch.br-unconfig_--tags_.
 create mode 100644 t/t5515/fetch.br-unconfig_.
 create mode 100644 t/t5515/fetch.br-unconfig_._one
 create mode 100644 t/t5515/fetch.br-unconfig_._one_tag_tag-one_tag_tag-three-file
 create mode 100644 t/t5515/fetch.br-unconfig_._one_two
 create mode 100644 t/t5515/fetch.br-unconfig_._tag_tag-one-tree_tag_tag-three-file
 create mode 100644 t/t5515/fetch.br-unconfig_._tag_tag-one_tag_tag-three
 create mode 100644 t/t5515/fetch.master_--tags_.
 create mode 100644 t/t5515/fetch.master_.
 create mode 100644 t/t5515/fetch.master_._one
 create mode 100644 t/t5515/fetch.master_._one_tag_tag-one_tag_tag-three-file
 create mode 100644 t/t5515/fetch.master_._one_two
 create mode 100644 t/t5515/fetch.master_._tag_tag-one-tree_tag_tag-three-file
 create mode 100644 t/t5515/fetch.master_._tag_tag-one_tag_tag-three

diff --git a/t/t5515-fetch-merge-logic.sh b/t/t5515-fetch-merge-logic.sh
index 6c9cc67..9759959 100755
--- a/t/t5515-fetch-merge-logic.sh
+++ b/t/t5515-fetch-merge-logic.sh
@@ -113,15 +113,17 @@ done >> tests
 # Merge logic does not depend on branch properties
 # neither in the Pull: or .fetch config
 for branch in master br-unconfig ; do
-    cat <<EOF
-$branch ../.git
-$branch ../.git one
-$branch ../.git one two
-$branch --tags ../.git
-$branch ../.git tag tag-one tag tag-three
-$branch ../.git tag tag-one-tree tag tag-three-file
-$branch ../.git one tag tag-one tag tag-three-file
+    for remote in ../.git . ; do
+	cat <<EOF
+$branch $remote
+$branch $remote one
+$branch $remote one two
+$branch --tags $remote
+$branch $remote tag tag-one tag tag-three
+$branch $remote tag tag-one-tree tag tag-three-file
+$branch $remote one tag tag-one tag tag-three-file
 EOF
+    done
 done >> tests
 
 while read cmd
diff --git a/t/t5515/fetch.br-unconfig_--tags_. b/t/t5515/fetch.br-unconfig_--tags_.
new file mode 100644
index 0000000..9435770
--- /dev/null
+++ b/t/t5515/fetch.br-unconfig_--tags_.
@@ -0,0 +1 @@
+# br-unconfig --tags .
diff --git a/t/t5515/fetch.br-unconfig_. b/t/t5515/fetch.br-unconfig_.
new file mode 100644
index 0000000..73c937d
--- /dev/null
+++ b/t/t5515/fetch.br-unconfig_.
@@ -0,0 +1 @@
+# br-unconfig .
diff --git a/t/t5515/fetch.br-unconfig_._one b/t/t5515/fetch.br-unconfig_._one
new file mode 100644
index 0000000..2592023
--- /dev/null
+++ b/t/t5515/fetch.br-unconfig_._one
@@ -0,0 +1 @@
+# br-unconfig . one
diff --git a/t/t5515/fetch.br-unconfig_._one_tag_tag-one_tag_tag-three-file b/t/t5515/fetch.br-unconfig_._one_tag_tag-one_tag_tag-three-file
new file mode 100644
index 0000000..3ffeb91
--- /dev/null
+++ b/t/t5515/fetch.br-unconfig_._one_tag_tag-one_tag_tag-three-file
@@ -0,0 +1 @@
+# br-unconfig . one tag tag-one tag tag-three-file
diff --git a/t/t5515/fetch.br-unconfig_._one_two b/t/t5515/fetch.br-unconfig_._one_two
new file mode 100644
index 0000000..01e010f
--- /dev/null
+++ b/t/t5515/fetch.br-unconfig_._one_two
@@ -0,0 +1 @@
+# br-unconfig . one two
diff --git a/t/t5515/fetch.br-unconfig_._tag_tag-one-tree_tag_tag-three-file b/t/t5515/fetch.br-unconfig_._tag_tag-one-tree_tag_tag-three-file
new file mode 100644
index 0000000..e11b24f
--- /dev/null
+++ b/t/t5515/fetch.br-unconfig_._tag_tag-one-tree_tag_tag-three-file
@@ -0,0 +1 @@
+# br-unconfig . tag tag-one-tree tag tag-three-file
diff --git a/t/t5515/fetch.br-unconfig_._tag_tag-one_tag_tag-three b/t/t5515/fetch.br-unconfig_._tag_tag-one_tag_tag-three
new file mode 100644
index 0000000..15f1d89
--- /dev/null
+++ b/t/t5515/fetch.br-unconfig_._tag_tag-one_tag_tag-three
@@ -0,0 +1 @@
+# br-unconfig . tag tag-one tag tag-three
diff --git a/t/t5515/fetch.master_--tags_. b/t/t5515/fetch.master_--tags_.
new file mode 100644
index 0000000..562e00e
--- /dev/null
+++ b/t/t5515/fetch.master_--tags_.
@@ -0,0 +1 @@
+# master --tags .
diff --git a/t/t5515/fetch.master_. b/t/t5515/fetch.master_.
new file mode 100644
index 0000000..ad16cdc
--- /dev/null
+++ b/t/t5515/fetch.master_.
@@ -0,0 +1 @@
+# master .
diff --git a/t/t5515/fetch.master_._one b/t/t5515/fetch.master_._one
new file mode 100644
index 0000000..31f3374
--- /dev/null
+++ b/t/t5515/fetch.master_._one
@@ -0,0 +1 @@
+# master . one
diff --git a/t/t5515/fetch.master_._one_tag_tag-one_tag_tag-three-file b/t/t5515/fetch.master_._one_tag_tag-one_tag_tag-three-file
new file mode 100644
index 0000000..1df2089
--- /dev/null
+++ b/t/t5515/fetch.master_._one_tag_tag-one_tag_tag-three-file
@@ -0,0 +1 @@
+# master . one tag tag-one tag tag-three-file
diff --git a/t/t5515/fetch.master_._one_two b/t/t5515/fetch.master_._one_two
new file mode 100644
index 0000000..7713a87
--- /dev/null
+++ b/t/t5515/fetch.master_._one_two
@@ -0,0 +1 @@
+# master . one two
diff --git a/t/t5515/fetch.master_._tag_tag-one-tree_tag_tag-three-file b/t/t5515/fetch.master_._tag_tag-one-tree_tag_tag-three-file
new file mode 100644
index 0000000..564ad9b
--- /dev/null
+++ b/t/t5515/fetch.master_._tag_tag-one-tree_tag_tag-three-file
@@ -0,0 +1 @@
+# master . tag tag-one-tree tag tag-three-file
diff --git a/t/t5515/fetch.master_._tag_tag-one_tag_tag-three b/t/t5515/fetch.master_._tag_tag-one_tag_tag-three
new file mode 100644
index 0000000..c127c1c
--- /dev/null
+++ b/t/t5515/fetch.master_._tag_tag-one_tag_tag-three
@@ -0,0 +1 @@
+# master . tag tag-one tag tag-three
-- 
1.5.0.3.1021.g5897

                 reply	other threads:[~2007-03-13 16:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87fy89f6um.fsf@gmail.com \
    --to=sbejar@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.