aboutsummaryrefslogtreecommitdiffstats
path: root/lib/blkid/test_probe.in
Commit message (Collapse)AuthorAgeFilesLines
* blkid: Don't use a hard-coded path for /bin/rm in test_probe.inTheodore Ts'o2009-05-171-1/+1
| | | | | | Addresses-Sourceforge-Bug: #2780205 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* blkid: Make regression test tolerate older versions of mkswapAndreas Dilger2008-07-101-11/+24
| | | | | | | | | | | | The blkid/tests contains new tests for swap, but the type-1 swapfile test depends on mkswap supporting the "-U" option to specify the UUID. This is not available even on relatively recent versions of mkswap (2.13.1 16-Jan-2008) so the test needs to be changed to handle this. If the "-U" option is not supported, don't verify the UUID in the blkid output during testing. Signed-off-by: Andreas Dilger <adilger@sun.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
* blkid: fix swap tests (again)Eric Sandeen2008-06-191-1/+4
| | | | | | | | | | | | | | Some architectures (ppc ...) need a bigger swapfile than is shipped, in the test image so the current re-make of swap was failing. We could either ship a bigger image or just dd a bigger file... There is one more minor problem with the tests; older mkswap does not support the -U uuid specification. I'm not sure offhand what to do about that problem, or if it really needs fixing. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
* Remove bashism in test script for libblkidTheodore Ts'o2008-05-251-2/+2
| | | | | | Thanks to Christian Kujau for pointing this out. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* - fix swap sanity tests in blkid, and blkid testsEric Sandeen2008-05-121-0/+6
| | | | | | | | | | | | | | | | | Swap is actually native-endian on disk, and with the latest swapspace sanity checks I added we need to have native swapspace examples in the blkid tests, so re-mkswap them during testing. One one other required change, though; mkswap requires at least 10 pages of swap, so the image needs to be increased to 10x64k if mkswap is to succeed... Maybe it'd be better to just dd it out on the fly? Addresses-redhat-bugzilla: 445786 Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
* blkid/test_probe.in: Fix temporary files handlingDmitry V. Levin2007-10-291-4/+4
| | | | | | | Avoid placing files with predictable names in /tmp. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
* Change more "echo -n" to "printf" to avoid screen clutter.Matthias Andree2006-05-301-1/+1
| | | | | | Signed-off-by: Matthias Andree <matthias.andree@gmx.de>
* Add a regression test suite for the blkid libraryTheodore Ts'o2005-09-101-0/+40
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>