From f00c16b30250a85d379d18c0d9d31e9446d83bb4 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Thu, 28 May 2020 23:16:50 -0700 Subject: [PATCH 1/1] Verify update fails if run before pin --- tests/reject-partially-unpinned.sh | 22 ++++++++++++++++++++++ tests/reject-unpinned.sh | 12 ++++++++++++ 2 files changed, 34 insertions(+) create mode 100755 tests/reject-partially-unpinned.sh create mode 100755 tests/reject-unpinned.sh diff --git a/tests/reject-partially-unpinned.sh b/tests/reject-partially-unpinned.sh new file mode 100755 index 0000000..5fc61fd --- /dev/null +++ b/tests/reject-partially-unpinned.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +. ./tests/lib/test-setup.sh + +foo_setup + +python3 ./pinch.py pin "$conf" + +cat >> "$conf" <