rename expect script to use proper file extension; fix other things as needed
This commit is contained in:
@@ -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 ..
|
||||||
|
|||||||
@@ -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 ..
|
||||||
|
|||||||
@@ -37,8 +37,9 @@ The options for `run-tests.sh` include:
|
|||||||
* `-s` (suppress running the one-time set of commands in `pre` file)
|
* `-s` (suppress running the one-time set of commands in `pre` file)
|
||||||
|
|
||||||
There is also another script used in testing of `xv6` projects, called
|
There is also another script used in testing of `xv6` projects, called
|
||||||
`run-xv6-command`. This is an `expect` script which launches the qemu
|
`run-xv6-command.exp`. This is an
|
||||||
emulator and runs the relevant testing command in the xv6 environment
|
[`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`
|
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.
|
script as described above and thus not generally called by users directly.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user