README for each test

This commit is contained in:
Remzi Arpaci-Dusseau
2019-02-16 19:28:14 -05:00
parent 195bdbbd1b
commit f537af1964
4 changed files with 77 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
In this directory, you should write the program `wcat.c` and compile it into
the binary `wcat`.
the binary `wcat` (e.g., `gcc -o wcat wcat.c -Wall -Werror`).
After doing so, you can run the tests from this directory by running the
`test-wcat.sh` script. If all goes well, you will see:
@@ -17,8 +17,11 @@ test 7: passed
prompt>
```
`test-wcat.sh` is just a wrapper for the `run-tests.sh` script in the `tester`
directory of this repository. This program has a few options; see the relevant
README for details.
The `test-wcat.sh` script is just a wrapper for the `run-tests.sh` script in
the `tester` directory of this repository. This program has a few options; see
the relevant
[README](https://github.com/remzi-arpacidusseau/ostep-projects/blob/master/tester/README.md)
for details.

View File

@@ -0,0 +1,24 @@
In this directory, you should write the program `wgrep.c` and compile it into
the binary `wgrep` (e.g., `gcc -o wgrep wgrep.c -Wall -Werror`).
After doing so, you can run the tests from this directory by running the
`test-wgrep.sh` script. If all goes well, you will see:
```sh
prompt> ./test-wgrep.sh
test 1: passed
test 2: passed
test 3: passed
test 4: passed
test 5: passed
test 6: passed
test 7: passed
prompt>
```
The `test-wgrep.sh` script is just a wrapper for the `run-tests.sh` script in
the `tester` directory of this repository. This program has a few options; see
the relevant
[README](https://github.com/remzi-arpacidusseau/ostep-projects/blob/master/tester/README.md)
for details.

View File

@@ -0,0 +1,23 @@
In this directory, you should write the program `wunzip.c` and compile it into
the binary `wunzip` (e.g., `gcc -o wunzip wunzip.c -Wall -Werror`).
After doing so, you can run the tests from this directory by running the
`test-wunzip.sh` script. If all goes well, you will see:
```sh
prompt> ./test-wunzip.sh
test 1: passed
test 2: passed
test 3: passed
test 4: passed
test 5: passed
test 6: passed
prompt>
```
The `test-wunzip.sh` script is just a wrapper for the `run-tests.sh` script in
the `tester` directory of this repository. This program has a few options; see
the relevant
[README](https://github.com/remzi-arpacidusseau/ostep-projects/blob/master/tester/README.md)
for details.

View File

@@ -0,0 +1,23 @@
In this directory, you should write the program `wzip.c` and compile it into
the binary `wzip` (e.g., `gcc -o wzip wzip.c -Wall -Werror`).
After doing so, you can run the tests from this directory by running the
`test-wzip.sh` script. If all goes well, you will see:
```sh
prompt> ./test-wzip.sh
test 1: passed
test 2: passed
test 3: passed
test 4: passed
test 5: passed
test 6: passed
prompt>
```
The `test-wzip.sh` script is just a wrapper for the `run-tests.sh` script in
the `tester` directory of this repository. This program has a few options; see
the relevant
[README](https://github.com/remzi-arpacidusseau/ostep-projects/blob/master/tester/README.md)
for details.