]> git.scottworley.com Git - pinch/blame_incremental - tests/reject-unknown-field.sh
Release 3.0.7
[pinch] / tests / reject-unknown-field.sh
... / ...
CommitLineData
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