minor nits to get tests running on FreeBSD

This commit is contained in:
Hannes Mehnert 2024-10-26 17:34:04 +02:00
parent 4f93219f1d
commit f1c7403a7f
2 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ Batch operation
$ cd .. $ cd ..
$ git daemon --base-path=. --export-all --enable=receive-pack --reuseaddr --pid-file=pid --detach $ git daemon --base-path=. --export-all --enable=receive-pack --reuseaddr --pid-file=pid --detach
$ mgit git://localhost/simple#main <<EOF $ mgit git://localhost/simple#main <<EOF
> fold > fold
> set /bar "Git rocks!" > set /bar "Git rocks!"
> set /foo "Hello World!" > set /foo "Hello World!"
> exists /bar > exists /bar
@ -22,7 +22,7 @@ Batch operation
00000000: 4769 7420 726f 636b 7321 Git rocks! 00000000: 4769 7420 726f 636b 7321 Git rocks!
00000000: 4865 6c6c 6f20 576f 726c 6421 Hello World! 00000000: 4865 6c6c 6f20 576f 726c 6421 Hello World!
$ cd simple $ cd simple
$ git log main --pretty=oneline | wc -l $ git log main --pretty=oneline | wc -l | tr -d ' '
1 1
$ cd .. $ cd ..
$ kill $(cat pid) $ kill $(cat pid)

View file

@ -12,7 +12,7 @@ Reading during batch operation
- /bar - /bar
00000000: 4769 7420 726f 636b 7321 Git rocks! 00000000: 4769 7420 726f 636b 7321 Git rocks!
$ cd simple $ cd simple
$ git log main --pretty=oneline | wc -l $ git log main --pretty=oneline | wc -l | tr -d ' '
1 1
$ cd .. $ cd ..
$ kill $(cat pid) $ kill $(cat pid)