Refactor test/dune and add a failing test #2

Merged
reynir merged 12 commits from batch-test into main 2024-10-29 11:21:16 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit f1c7403a7f - Show all commits

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)