Fix tests on shells that don't support the export FOO=bar syntax

This commit is contained in:
Petri Lehtinen 2012-03-08 15:01:52 +02:00
parent 54d88753a6
commit 6ac6f311b5
11 changed files with 28 additions and 17 deletions

View File

@ -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

View File

@ -1 +1,2 @@
export JSON_COMPACT=1
JSON_COMPACT=1
export JSON_COMPACT

View File

@ -1 +1,2 @@
export JSON_COMPACT=1
JSON_COMPACT=1
export JSON_COMPACT

View File

@ -1 +1,2 @@
export JSON_ENSURE_ASCII=1
JSON_ENSURE_ASCII=1
export JSON_ENSURE_ASCII

View File

@ -1 +1,2 @@
export JSON_INDENT=4
JSON_INDENT=4
export JSON_INDENT

View File

@ -1,2 +1,3 @@
export JSON_INDENT=4
export JSON_COMPACT=1
JSON_INDENT=4
JSON_COMPACT=1
export JSON_INDENT JSON_COMPACT

View File

@ -1,2 +1,3 @@
export JSON_INDENT=4
export JSON_COMPACT=1
JSON_INDENT=4
JSON_COMPACT=1
export JSON_INDENT JSON_COMPACT

View File

@ -1 +1,2 @@
export JSON_INDENT=4
JSON_INDENT=4
export JSON_INDENT

View File

@ -1 +1,2 @@
export JSON_PRESERVE_ORDER=1
JSON_PRESERVE_ORDER=1
export JSON_PRESERVE_ORDER

View File

@ -1 +1,2 @@
export JSON_SORT_KEYS=1
JSON_SORT_KEYS=1
export JSON_SORT_KEYS

View File

@ -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