Skip to content

Commit

Permalink
rename expect script to use proper file extension; fix other things a…
Browse files Browse the repository at this point in the history
…s needed
  • Loading branch information
remzi-arpacidusseau committed Mar 31, 2019
1 parent 7675f1d commit 9f1df35
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion initial-xv6/tests/1.run
Original file line number Diff line number Diff line change
@@ -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 ..
2 changes: 1 addition & 1 deletion initial-xv6/tests/2.run
Original file line number Diff line number Diff line change
@@ -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 ..
5 changes: 3 additions & 2 deletions tester/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
File renamed without changes.

0 comments on commit 9f1df35

Please sign in to comment.