mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-23 03:50:20 +00:00
19 lines
384 B
Bash
Executable file
19 lines
384 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Common definitions
|
|
if test -z "$srcdir"; then
|
|
srcdir="${0%/*}"
|
|
test "$srcdir" = "$0" && srcdir=.
|
|
test -z "$srcdir" && srcdir=.
|
|
fi
|
|
. "$srcdir/test-defs.sh"
|
|
|
|
filename=$(basename "$0")
|
|
filename="${filename%.*}"
|
|
|
|
# This is only for the test_util_file.test ;
|
|
# more stuff could be extended
|
|
cp -f "$srcdir/valid.json" .
|
|
|
|
run_output_test $filename "$srcdir"
|
|
exit $?
|