Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevin85421/uiuc_ece438_testcases
https://github.com/kevin85421/uiuc_ece438_testcases
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kevin85421/uiuc_ece438_testcases
- Owner: kevin85421
- Created: 2021-09-21T21:38:24.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-21T22:16:25.000Z (over 3 years ago)
- Last Synced: 2024-12-05T17:43:39.189Z (17 days ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UIUC_ECE438_TestCases
* The repository aims to provide test scripts and test cases to help you pass the autograder.## MP1
* **test_server.sh**: Use wget to retrieve files from your HTTP server
* The script will iterate through all files in the directory mp1/test/input/.
* Step1: Put testcases into the directory mp1/test/input, and I strongly recommended that the files must include text, image, pdf, and video. In addition, put a file larger than 1GB into the directory (to pass the "medium size testcase").
* Step2: `./test_server.sh`
* **test_client_server.sh**: Use your HTTP client to retrieve files from your HTTP server
* The script will iterate through all files in the directory mp1/test/input/.
* Step1: Put testcases into the directory mp1/test/input, and I strongly recommended that the files must include text, image, pdf, and video. In addition, put a file larger than 1GB into the directory (to pass the "medium size testcase").
* Step2: `./test_client_server.sh`* Tips:
* Use `fread`/`fwrite` (for binary) instead of `fgets`/`fprintf` (for string)
* `GET /somedir/somefile.txt` -> `fopen(somedir/somefile.txt)` (relative path)