Skip to content

Commit fe0e6ff

Browse files
committed
Merge branch 'bc/zsh-testsuite'
A few tests have been updated to work under the shell compatible mode of zsh. * bc/zsh-testsuite: t5564: fix test hang under zsh's sh mode t0614: use numerical comparison with test_line_count
2 parents c64b234 + a92f243 commit fe0e6ff

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

t/t0614-reftable-fsck.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ test_expect_success "no errors reported on a well formed repository" '
2020
done &&
2121
2222
# The repository should end up with multiple tables.
23-
test_line_count ">" 1 .git/reftable/tables.list &&
23+
test_line_count -gt 1 .git/reftable/tables.list &&
2424
2525
git refs verify 2>err &&
2626
test_must_be_empty err

t/t5564-http-proxy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ test_expect_success 'clone can prompt for proxy password' '
4040

4141
start_socks() {
4242
mkfifo socks_output &&
43-
{
43+
(
4444
"$PERL_PATH" "$TEST_DIRECTORY/socks4-proxy.pl" "$1" >socks_output &
4545
echo $! > "$TRASH_DIRECTORY/socks.pid"
46-
} &&
46+
) &&
4747
read line <socks_output &&
4848
test "$line" = ready
4949
}

0 commit comments

Comments
 (0)