rename expect script to use proper file extension; fix other things as needed

This commit is contained in:
Remzi Arpaci-Dusseau
2019-03-31 12:14:37 -05:00
parent 7675f1dd60
commit 9f1df35841
4 changed files with 5 additions and 4 deletions

View File

@@ -1 +1 @@
cd src; ../../tester/run-xv6-command.sh CPUS=1 Makefile.test test_1 | grep XV6_TEST_OUTPUT; cd ..
cd src; ../../tester/run-xv6-command.exp CPUS=1 Makefile.test test_1 | grep XV6_TEST_OUTPUT; cd ..

View File

@@ -1 +1 @@
cd src; ../../tester/run-xv6-command.sh CPUS=2 Makefile.test test_2 | grep XV6_TEST_OUTPUT; cd ..
cd src; ../../tester/run-xv6-command.exp CPUS=2 Makefile.test test_2 | grep XV6_TEST_OUTPUT; cd ..

View File

@@ -37,8 +37,9 @@ The options for `run-tests.sh` include:
* `-s` (suppress running the one-time set of commands in `pre` file)
There is also another script used in testing of `xv6` projects, called
`run-xv6-command`. This is an `expect` script which launches the qemu
emulator and runs the relevant testing command in the xv6 environment
`run-xv6-command.exp`. This is an
[`expect`](https://en.wikipedia.org/wiki/Expect) script which launches the
qemu emulator and runs the relevant testing command in the xv6 environment
before automatically terminating the test. It is used by the `run-tests.sh`
script as described above and thus not generally called by users directly.