]> Dogcows Code - chaz/tar/blobdiff - tests/sparse01.at
Skip the test if the file system does not support sparse files.
[chaz/tar] / tests / sparse01.at
index e4aa0a534a9caf8315d2d2ae0aa33c1be6184e2f..9d120d335b16ca1d34004a59152c90e4dd1d541b 100644 (file)
@@ -1,7 +1,7 @@
 # Process this file with autom4te to create testsuite. -*- Autotest -*-
 
 # Test suite for GNU tar.
-# Copyright (C) 2004 Free Software Foundation, Inc.
+# Copyright (C) 2004, 2006 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
@@ -24,7 +24,7 @@ AT_KEYWORDS([sparse sparse01])
 AT_TAR_CHECK([
 genfile --length 1000 > begin
 genfile --length 1000 > end
-genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL
+genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || AT_SKIP_TEST
 tar -c -f archive --sparse begin sparsefile end || exit 1
 echo separator
 
This page took 0.022242 seconds and 4 git commands to generate.