You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

test_basic.test 418 B

123456789101112131415161718192021
  1. #!/bin/sh
  2. export _JSON_C_STRERROR_ENABLE=1
  3. # Common definitions
  4. if test -z "$srcdir"; then
  5. srcdir="${0%/*}"
  6. test "$srcdir" = "$0" && srcdir=.
  7. test -z "$srcdir" && srcdir=.
  8. fi
  9. . "$srcdir/test-defs.sh"
  10. filename=$(basename "$0")
  11. filename="${filename%.*}"
  12. # This is only for the test_util_file.test ;
  13. # more stuff could be extended
  14. cp -f "$srcdir/valid.json" .
  15. run_output_test $filename "$srcdir"
  16. exit $?