testcat.sh - sfeed_tests - sfeed tests and RSS and Atom files
 (HTM) git clone git://git.codemadness.org/sfeed_tests
 (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."