diff options
author | Jim Meyering <meyering@redhat.com> | 2010-11-08 19:59:42 +0100 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2010-11-08 11:13:39 -0800 |
commit | 18013998308a5eb0b646d7682c392793ab0cf639 (patch) | |
tree | de2b767dcb93b8b268dac028b080d6d26056f207 | |
parent | b32edff5aa612fdf819c00dc8aacb46ce4a297c0 (diff) | |
download | tar-18013998308a5eb0b646d7682c392793ab0cf639.tar.gz |
tests: avoid spurious failure when VERSION_CONTROL envvar is set
* tests/backup01.at: Unset VERSION_CONTROL. Otherwise,
when set to e.g., 'always', it would cause this test to fail.
-rw-r--r-- | tests/backup01.at | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/backup01.at b/tests/backup01.at index 83d1bea0..cf0a9077 100644 --- a/tests/backup01.at +++ b/tests/backup01.at @@ -1,7 +1,7 @@ # Process this file with autom4te to create testsuite. -*- Autotest -*- # Test suite for GNU tar. -# Copyright (C) 2009 Free Software Foundation, Inc. +# Copyright (C) 2009-2010 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -34,6 +34,7 @@ AT_SETUP([extracting existing dir with --backup]) AT_KEYWORDS([extract backup backup01]) AT_TAR_CHECK([ +unset VERSION_CONTROL mkdir dir1 dir2 echo bla > dir1/file1 tar cf test.tar dir1 dir2 |