summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-08-12 13:19:27 +0000
committerJim Meyering <jim@meyering.net>2000-08-12 13:19:27 +0000
commit47e19fb368920da053f04a0e679b51d849069670 (patch)
tree63ef3dd25c24922e1ff9c3a9cdb5c93b962c9901
parentf2893678eb5ca198a29db41d59ad8bc81b1c692e (diff)
downloadcoreutils-47e19fb368920da053f04a0e679b51d849069670.tar.xz
*** empty log message ***
-rw-r--r--tests/envvar-check14
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