mirror of
https://github.com/json-c/json-c.git
synced 2026-04-01 11:29:07 +08:00
Create a tests subdirectory and move one of the test to there.
This commit is contained in:
12
tests/test1.test
Executable file
12
tests/test1.test
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Common definitions
|
||||
if test -z "$srcdir"; then
|
||||
srcdir="${0%/*}"
|
||||
test "$srcdir" = "$0" && srcdir=.
|
||||
test -z "$srcdir" && srcdir=.
|
||||
fi
|
||||
. "$srcdir/test-defs.sh"
|
||||
|
||||
run_output_test test1
|
||||
exit $?
|
||||
Reference in New Issue
Block a user