diff options
| author | 2022-01-25 03:54:10 +0100 | |
|---|---|---|
| committer | 2022-01-25 03:54:10 +0100 | |
| commit | f3c65feb0e1f4e177a75ba936d0730f7c3f4b076 (patch) | |
| tree | d8515e68ea9fbe98dd0650d1c49d5fc52181ce13 | |
| parent | 99cd35bd12745364ef777a36b3cb7186d18458b1 (diff) | |
| download | libplist-f3c65feb0e1f4e177a75ba936d0730f7c3f4b076.tar.gz libplist-f3c65feb0e1f4e177a75ba936d0730f7c3f4b076.tar.bz2 | |
test: Rename json test files to .json
| -rw-r--r-- | test/Makefile.am | 3 | ||||
| -rw-r--r-- | test/data/j1.json (renamed from test/data/j1.plist) | 0 | ||||
| -rw-r--r-- | test/data/j2.json (renamed from test/data/j2.plist) | 0 | ||||
| -rwxr-xr-x | test/json1.test | 2 | ||||
| -rwxr-xr-x | test/json2.test | 2 |
5 files changed, 4 insertions, 3 deletions
diff --git a/test/Makefile.am b/test/Makefile.am index a75644a..0d99d92 100644 --- a/test/Makefile.am +++ b/test/Makefile.am | |||
| @@ -99,7 +99,8 @@ EXTRA_DIST = \ | |||
| 99 | data/unsigned.plist \ | 99 | data/unsigned.plist \ |
| 100 | data/uid.bplist \ | 100 | data/uid.bplist \ |
| 101 | data/data.bplist \ | 101 | data/data.bplist \ |
| 102 | data/j1.plist | 102 | data/j1.json \ |
| 103 | data/j2.json | ||
| 103 | 104 | ||
| 104 | TESTS_ENVIRONMENT = \ | 105 | TESTS_ENVIRONMENT = \ |
| 105 | top_srcdir=$(top_srcdir) \ | 106 | top_srcdir=$(top_srcdir) \ |
diff --git a/test/data/j1.plist b/test/data/j1.json index 2ae9acb..2ae9acb 100644 --- a/test/data/j1.plist +++ b/test/data/j1.json | |||
diff --git a/test/data/j2.plist b/test/data/j2.json index 9d1210e..9d1210e 100644 --- a/test/data/j2.plist +++ b/test/data/j2.json | |||
diff --git a/test/json1.test b/test/json1.test index dba4912..9828ba7 100755 --- a/test/json1.test +++ b/test/json1.test | |||
| @@ -4,7 +4,7 @@ set -e | |||
| 4 | 4 | ||
| 5 | DATASRC=$top_srcdir/test/data | 5 | DATASRC=$top_srcdir/test/data |
| 6 | DATAOUT=$top_builddir/test/data | 6 | DATAOUT=$top_builddir/test/data |
| 7 | TESTFILE=j1.plist | 7 | TESTFILE=j1.json |
| 8 | 8 | ||
| 9 | if ! test -d "$DATAOUT"; then | 9 | if ! test -d "$DATAOUT"; then |
| 10 | mkdir -p $DATAOUT | 10 | mkdir -p $DATAOUT |
diff --git a/test/json2.test b/test/json2.test index 1329016..a289f5e 100755 --- a/test/json2.test +++ b/test/json2.test | |||
| @@ -4,7 +4,7 @@ set -e | |||
| 4 | 4 | ||
| 5 | DATASRC=$top_srcdir/test/data | 5 | DATASRC=$top_srcdir/test/data |
| 6 | DATAOUT=$top_builddir/test/data | 6 | DATAOUT=$top_builddir/test/data |
| 7 | TESTFILE=j2.plist | 7 | TESTFILE=j2.json |
| 8 | 8 | ||
| 9 | if ! test -d "$DATAOUT"; then | 9 | if ! test -d "$DATAOUT"; then |
| 10 | mkdir -p $DATAOUT | 10 | mkdir -p $DATAOUT |
