Test compatible with tar 1.22 (intranator version)
authorDaniel Garcia Moreno <danigm@wadobo.com>
Wed, 13 Nov 2013 13:05:12 +0000 (14:05 +0100)
committerDaniel Garcia Moreno <danigm@wadobo.com>
Wed, 13 Nov 2013 13:05:12 +0000 (14:05 +0100)
testing/test_multivol.py

index 481ed7e..fac6d61 100644 (file)
@@ -210,7 +210,7 @@ class MultivolGnuFormatTest(BaseTest):
         hash = self.create_file("big", 5*1024*1024)
 
         # create the tar file with volumes
-        os.system("tar cM --format=%s -L 3M big --file=sample.tar "\
+        os.system("tar cM --format=%s -L 3000 big --file=sample.tar "\
             "--file=sample.tar.1" % self.tar_command_format)
 
         # check that the tar volumes were correctly created
@@ -242,7 +242,7 @@ class MultivolGnuFormatTest(BaseTest):
         hash["small2"] = self.create_file("small2", 354)
 
         # create the tar file with volumes
-        os.system("tar cM --format=%s -L 3M big small small2 --file=sample.tar "\
+        os.system("tar cM --format=%s -L 3000 big small small2 --file=sample.tar "\
             "--file=sample.tar.1" % self.tar_command_format)
 
         # check that the tar volumes were correctly created