mongoose/test/mip_curl.sh

3 lines
204 B
Bash
Raw Normal View History

2024-07-23 04:14:10 +08:00
curl -s $*/a.txt -o /tmp/a.txt && diff /tmp/a.txt data/a.txt && rm /tmp/a.txt &&
curl -s -H Expect: $*/body --data-binary @./Makefile -o /tmp/Makefile && diff /tmp/Makefile ./Makefile && rm /tmp/Makefile