diff options
-rw-r--r-- | tests/envvar-check | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/envvar-check b/tests/envvar-check new file mode 100644 index 000000000..5784949d2 --- /dev/null +++ b/tests/envvar-check @@ -0,0 +1,14 @@ +unset VERSION_CONTROL SIMPLE_BACKUP_SUFFIX + +if test "${VERSION_CONTROL+set}" = set; then + echo "$0: the VERSION_CONTROL envvar is set --" \ + ' unset it and rerun this test' >&2 + exit 1 +fi + +if test "${SIMPLE_BACKUP_SUFFIX+set}" = set; then + echo "$0: the SIMPLE_BACKUP_SUFFIX envvar is set --" \ + ' unset it and rerun this test' >&2 + >&2 + exit 1 +fi |