Files
Remzi Arpaci-Dusseau f537af1964 README for each test
2019-02-16 19:28:14 -05:00
..
2019-02-15 14:13:15 -06:00
2019-02-16 19:28:14 -05:00

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:

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 for details.