]> Dogcows Code - chaz/tar/commitdiff
tests: avoid spurious failure when VERSION_CONTROL envvar is set
authorJim Meyering <meyering@redhat.com>
Mon, 8 Nov 2010 18:59:42 +0000 (19:59 +0100)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 8 Nov 2010 19:13:39 +0000 (11:13 -0800)
* tests/backup01.at: Unset VERSION_CONTROL.  Otherwise,
when set to e.g., 'always', it would cause this test to fail.

tests/backup01.at

index 83d1bea00b92c0981d7270eee5e22cb0404a9cb9..cf0a9077f03e71dbd96a24e8592ca4ce3591beb5 100644 (file)
@@ -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
This page took 0.020071 seconds and 4 git commands to generate.