n for counting the lines in the output. These
simplifications will be made in subsequent commits.
Signed-off-by: Jonathan Chang
---
t/t-basic.sh | 28 ++--
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/t/t-basic.sh b/t/t-basic.sh
index 53821
Signed-off-by: Jonathan Chang
---
t/t-basic.sh | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/t/t-basic.sh b/t/t-basic.sh
index 3de13daabe..49923c5ff1 100755
--- a/t/t-basic.sh
+++ b/t/t-basic.sh
@@ -1118,16 +1118,18 @@ P=$(test_oid root
/
[v3]: https://public-inbox.org/git/cover.1552835153.git.ttjt...@gmail.com/
[1]: https://public-inbox.org/git/87imwha1o3@evledraar.gmail.com/
[2]:
https://public-inbox.org/git/20190317200609.ga1...@hank.intra.tgummerer.com/
Jonathan Chang (5):
t: fix indentation
t: avoid using
Fix indentation of a line containing a pipeline to reduce the
noise when refactoring the pipeline in a subsequent commit.
This has been wrong since the refactoring done in 1b5b2b641a
("t: modernise style", 2012-03-02), but carries no meaning.
Signed-off-by: Jonathan Chang
--
Signed-off-by: Jonathan Chang
---
t/t-basic.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/t-basic.sh b/t/t-basic.sh
index 49923c5ff1..0cb69a89de 100755
--- a/t/t-basic.sh
+++ b/t/t-basic.sh
@@ -51,7 +51,7 @@ test_expect_success 'verify tha
Signed-off-by: Jonathan Chang
---
t/t-basic.sh | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/t/t-basic.sh b/t/t-basic.sh
index 47666b013e..3de13daabe 100755
--- a/t/t-basic.sh
+++ b/t/t-basic.sh
@@ -1136,8 +1136,8 @@ test_expect_success
On Sun, Mar 31, 2019 at 3:38 AM Thomas Gummerer wrote:
>
> On 03/30, Jonathan Chang wrote:
> > Signed-off-by: Jonathan Chang
> > ---
> > t/t-basic.sh | 14 --
> > 1 file changed, 8 insertions(+), 6 deletions(-)
> >
> > diff --git a/t/t
using it. By writing out the output of the git command to a file, we can
test the exit codes of both the commands.
Signed-off-by: Jonathan Chang
---
t/t-basic.sh | 28 ++--
t/t0003-attributes.sh | 13 -
t/t0022-crlf-rename.sh | 6 +++---
3 files c
discards git's exit code and may mask a crash.
Signed-off-by: Jonathan Chang
diff --git a/t/t-basic.sh b/t/t-basic.sh
index b6566003dd..53821f5817 100755
--- a/t/t-basic.sh
+++ b/t/t-basic.sh
@@ -1132,7 +1132,7 @@ test_expect_success 'git commit-t
The exit code of the upstream in a pipe is ignored thus we should avoid
using it. By writing out the output of the git command to a file, we can
test the exit codes of both the commands.
Signed-off-by: Jonathan Chang
diff --git a/t/t-basic.sh b/t/t-basic.sh
index 53821f5817..47666b013e
The exit code of the upstream in a pipe is ignored thus we should avoid
using it. By writing out the output of the git command to a file, we can
test the exit codes of both the commands.
Signed-off-by: Jonathan Chang
diff --git a/t/t0003-attributes.sh b/t/t0003-attributes.sh
index 71e63d8b50
The exit code of the upstream in a pipe is ignored thus we should avoid
using it. By writing out the output of the git command to a file, we can
test the exit codes of both the commands.
Signed-off-by: Jonathan Chang
diff --git a/t/t0022-crlf-rename.sh b/t/t0022-crlf-rename.sh
index 7af3fbcc7b
Signed-off-by: Jonathan Chang
diff --git a/t/t-basic.sh b/t/t-basic.sh
index 47666b013e..aa25694b45 100755
--- a/t/t-basic.sh
+++ b/t/t-basic.sh
@@ -1136,8 +1136,8 @@ test_expect_success 'git commit-tree omits duplicated
parent in a commit' '
parent
Sorry, I forgot to Cc, again.
-- Forwarded message -
From: ttjtftx
Date: Tue, Mar 12, 2019 at 12:32 AM
Subject: Re: [GSoC][PATCH] tests: avoid using pipes
To: Christian Couder
On Sun, Mar 10, 2019 at 11:05 PM Christian Couder
wrote:
>
> On Sun, Mar 10, 2019 at 9:28 AM ttjtftx
On Mon, Mar 11, 2019 at 1:59 AM Thomas Gummerer wrote:
>
> On 03/10, Jonathan Chang wrote:
> > Hi,
> >
> > Thanks for the reviews.
> >
> > Here are the changes in the second version:
> > - bug fixes
> > - add preparatory patch
> &g
On Sun, Mar 10, 2019 at 6:13 PM Eric Sunshine wrote:
>
> On Sun, Mar 10, 2019 at 4:09 AM Jonathan Chang wrote:
> > The exit code of the upstream in a pipe is ignored thus we should avoid
> > using it. By writing out the output of the git command to a file, we can
> > tes
Fix indentation of a line containing a pipeline to reduce the
noise when refactoring the pipeline in a subsequent commit.
This has been wrong since the refactoring done in 1b5b2b641a
("t: modernise style", 2012-03-02), but carries no meaning.
Signed-off-by: Jonathan Chang
--
The exit code of the upstream in a pipe is ignored thus we should avoid
using it. By writing out the output of the git command to a file, we can
test the exit codes of both the commands.
Signed-off-by: Jonathan Chang
---
t/t-basic.sh | 28 ++--
1 file changed, 14
Signed-off-by: Jonathan Chang
---
t/t-basic.sh | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/t/t-basic.sh b/t/t-basic.sh
index 47666b013e..3de13daabe 100755
--- a/t/t-basic.sh
+++ b/t/t-basic.sh
@@ -1136,8 +1136,8 @@ test_expect_success
csmzrqfrlxoo5ke1uonuxmnyhikr-e6gaq_n6vx3+s...@mail.gmail.com/
Jonathan Chang (3):
t: fix indentation
t: avoid using pipes
t: use test_line_count instead of wc -l
t/t-basic.sh | 31 +++
1 file changed, 15 insertions(+), 16 deletions(-)
Range-diff aga
On Mon, Mar 18, 2019 at 12:47 AM Ævar Arnfjörð Bjarmason
wrote:
>
>
> On Sun, Mar 17 2019, Jonathan Chang wrote:
>
> > The exit code of the upstream in a pipe is ignored thus we should avoid
> > using it. By writing out the output of the git command to a file, we can
&g
21 matches
Mail list logo