Apply suggestions from code review

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
This commit is contained in:
John Ericson 2022-12-23 08:59:36 -08:00 committed by GitHub
parent 0251d44cc2
commit efbd1d15c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,7 +135,7 @@ output from bar
...
```
The test script will be traced with `set -x` and the output displayed as it happens, regardless of whether the test succeeds or fails.
The test script will then be traced with `set -x` and the output displayed as it happens, regardless of whether the test succeeds or fails.
#### Debugging failing functional tests
@ -150,7 +150,7 @@ foo
nix blah blub
bar
```
one would could edit it like so:
edit it like so:
```diff
foo
@ -159,7 +159,7 @@ one would could edit it like so:
bar
```
Then, when one runs the script with `./mk/debug-test.sh`, it will drop them into GDB once the script reaches that point:
Then, running the test with `./mk/debug-test.sh` will drop you into GDB once the script reaches that point:
```shell-session
$ ./mk/debug-test.sh tests/${testName}.sh
@ -171,7 +171,7 @@ GNU gdb (GDB) 12.1
```
One can debug the Nix invocation in all the usual ways.
(For exampling running `run` will run the Nix invocation.)
For example, enter `run` to start the Nix invocation.
### Integration tests