libtsfuncs is a library for mpeg PSI parsing and generation. https://georgi.unixsol.org/programs/libtsfuncs/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tstest_valgrind 377B

123456789101112131415161718192021
  1. #!/bin/sh
  2. ulimit -c unlimited
  3. valgrind \
  4. --log-file=tstest-$(date +%F-%H:%M:%S)-valgrind.log \
  5. --leak-check=full \
  6. --show-reachable=yes \
  7. --undef-value-errors=no \
  8. --trace-children=yes \
  9. --run-libc-freeres=yes \
  10. --time-stamp=yes \
  11. -- \
  12. ./tstest > tstest.test.now
  13. diff -u tstest.test.expect tstest.test.now
  14. if [ $? != 0 ]
  15. then
  16. echo "DIFFERENCE!"
  17. else
  18. echo "OK"
  19. fi