e2fsprogs/lib/blkid
Andreas Dilger 3b97799c74 tests: skip unsupported tests on MacOS systems
The "mkswap" program is not available on MacOS, so just use the
existing swap0.img.bz2 and swap1.img.bz2 files directly.

Because MacOS HFS+ doesn't support sparse files (welcome to the 80's)
the m_bigjournal test takes forever to zero out the whole 42GB test
filesystem.  Skip this test for Darwin kernels for now.

Unfortunately, neither "df -T" nor "stat -f -c %T" is available on
MacOS to directly determine the filesystem type, and I'm too lazy
to parse the output of "mount" and match it to the path of the test
directory in shell, so it just checks the kernel type and assumes
the filesystem type is HFS and skips the test.

Since this test runs on Linux the majority of the time, the loss of
test coverage is minimal.  If MacOS should ever get a real filesystem,
this can be revisited.

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2014-02-18 18:30:00 -05:00
..
tests Add ZFS test image to blkid test suite 2008-07-07 15:13:09 -04:00
Makefile.in e2fsprogs: add (optional) sparse checking to the build 2013-10-11 23:12:40 -04:00
blkid.h.in Don't use in-tree header files if using system uuid or blkid libraries 2009-10-04 14:45:08 -04:00
blkid.pc.in Change pkg-config files so that both <et/com_err.h> and <com_err.h> work 2012-05-14 12:45:54 -04:00
blkidP.h libblkid: Unexport the private symbol blkid_devdirs 2008-08-27 00:00:44 -04:00
blkid_types.h.in build: use long long for __u64 by default 2013-12-15 22:10:09 -05:00
cache.c libblkid: remove unneeded pointer checks 2014-01-10 21:53:08 -05:00
dev.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
devname.c libblkid: remove unneeded pointer checks 2014-01-10 21:53:08 -05:00
devno.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
getsize.c build: quiet LLVM non-literal string format warning 2013-12-15 22:12:16 -05:00
libblkid.3.in libblkid: On the man page, replace empty references with an existing one. 2008-08-14 13:31:37 -04:00
list.h ext2fs,blkid: delete unused LIST_HEAD() macro 2013-12-15 23:26:39 -05:00
llseek.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
probe.c libblkid: fix integer width issue in probe_fat 2014-01-10 21:56:29 -05:00
probe.h e2fsprogs: reserving code points for new ext4 quota feature 2011-02-25 18:31:52 -05:00
read.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
resolve.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
save.c libblkid: add error checking for rename() while saving the blkid cache 2014-01-10 22:09:45 -05:00
tag.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
test_probe.in tests: skip unsupported tests on MacOS systems 2014-02-18 18:30:00 -05:00
tst_types.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
version.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00