SMOLNET PORTAL home about changes
testcat.sh - sfeed_tests - sfeed tests and RSS and Atom files
(URL) git clone git://git.codemadness.org/sfeed_tests (git://git.codemadness.org)
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
testcat.sh (337B)
---
1 #!/bin/sh
2 # test concatenating feed data of feeds (of different types) and processing
3 # each feed individually. The resulting sfeed(5) data should be identical.
4
5 d="input/sfeed/realworld"
6
7 cat "$d"/* | sfeed | sha256sum
8
9 for f in "$d"/*; do sfeed < "$f"; done | sha256sum
10
11 echo ""
12 echo "Check if the above checksums should be the same."
Response: application/gopher-menu
Original URLgopher://codemadness.org/1/git/sfeed_tests/file/testcat.sh.gph
Content-Typeapplication/gopher-menu; charset=utf-8