]> git.scottworley.com Git - pinch/blame - tests/reject-unknown-field.sh
Release 3.0.5
[pinch] / tests / reject-unknown-field.sh
CommitLineData
75e95e09
SW
1#!/bin/sh
2
3. ./tests/lib/test-setup.sh
4
5foo_setup
6
7echo "whatisthis = I don't even" >> "$conf"
8
9if python3 ./pinch.py pin "$conf";then
10 echo "FAIL: Config with unknown field should be rejected"
11 exit 1
12else
13 echo PASS
14fi