Skip to content

Commit c57d3b5

Browse files
committed
updated tests/test_validate_json.sh
1 parent c275852 commit c57d3b5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/test_validate_json.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ echo "testing stdin with multi-record"
6161
./validate_json.py -m - < "$data_dir/multirecord.json"
6262
echo
6363

64+
echo "checking symlink handling"
65+
ln -sfv "test.json" "$data_dir/testlink.json"
66+
./validate_json.py "$data_dir/testlink.json"
67+
rm "$data_dir/testlink.json"
68+
echo
69+
6470
echo "Now trying broken / non-json files to test failure detection:"
6571
check_broken(){
6672
filename="$1"

0 commit comments

Comments
 (0)