Fix tests on shells that don't support the export FOO=bar syntax
This commit is contained in:
parent
54d88753a6
commit
6ac6f311b5
@ -22,11 +22,12 @@ fi
|
||||
|
||||
[ -z "$STOP" ] && STOP=0
|
||||
|
||||
export suites_srcdir=$top_srcdir/test/suites
|
||||
export suites_builddir=suites
|
||||
export scriptdir=$top_srcdir/test/scripts
|
||||
export logdir=logs
|
||||
export bindir=bin
|
||||
suites_srcdir=$top_srcdir/test/suites
|
||||
suites_builddir=suites
|
||||
scriptdir=$top_srcdir/test/scripts
|
||||
logdir=logs
|
||||
bindir=bin
|
||||
export suites_srcdir suites_builddir scriptdir logdir bindir
|
||||
|
||||
passed=0
|
||||
failed=0
|
||||
|
@ -1 +1,2 @@
|
||||
export JSON_COMPACT=1
|
||||
JSON_COMPACT=1
|
||||
export JSON_COMPACT
|
||||
|
@ -1 +1,2 @@
|
||||
export JSON_COMPACT=1
|
||||
JSON_COMPACT=1
|
||||
export JSON_COMPACT
|
||||
|
@ -1 +1,2 @@
|
||||
export JSON_ENSURE_ASCII=1
|
||||
JSON_ENSURE_ASCII=1
|
||||
export JSON_ENSURE_ASCII
|
||||
|
@ -1 +1,2 @@
|
||||
export JSON_INDENT=4
|
||||
JSON_INDENT=4
|
||||
export JSON_INDENT
|
||||
|
@ -1,2 +1,3 @@
|
||||
export JSON_INDENT=4
|
||||
export JSON_COMPACT=1
|
||||
JSON_INDENT=4
|
||||
JSON_COMPACT=1
|
||||
export JSON_INDENT JSON_COMPACT
|
||||
|
@ -1,2 +1,3 @@
|
||||
export JSON_INDENT=4
|
||||
export JSON_COMPACT=1
|
||||
JSON_INDENT=4
|
||||
JSON_COMPACT=1
|
||||
export JSON_INDENT JSON_COMPACT
|
||||
|
@ -1 +1,2 @@
|
||||
export JSON_INDENT=4
|
||||
JSON_INDENT=4
|
||||
export JSON_INDENT
|
||||
|
@ -1 +1,2 @@
|
||||
export JSON_PRESERVE_ORDER=1
|
||||
JSON_PRESERVE_ORDER=1
|
||||
export JSON_PRESERVE_ORDER
|
||||
|
@ -1 +1,2 @@
|
||||
export JSON_SORT_KEYS=1
|
||||
JSON_SORT_KEYS=1
|
||||
export JSON_SORT_KEYS
|
||||
|
@ -5,7 +5,8 @@
|
||||
# Jansson is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the MIT license. See LICENSE for details.
|
||||
|
||||
export JSON_SORT_KEYS=1
|
||||
JSON_SORT_KEYS=1
|
||||
export JSON_SORT_KEYS
|
||||
|
||||
is_test() {
|
||||
test -d $test_path
|
||||
|
Loading…
Reference in New Issue
Block a user