OSDN Git Service

tests: correct t1100-busy-label
authorJim Meyering <meyering@redhat.com>
Thu, 17 Sep 2009 13:20:38 +0000 (15:20 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 17 Sep 2009 13:20:38 +0000 (15:20 +0200)
commit96bb50a3b13b4d855cc472572a9360f4b2f2df48
tree4ca1e85c37b23787931f35cd822353cd77b7a917
parent28a74ee6d5a6632907afe0e7e16e0ca235c67811
tests: correct t1100-busy-label

This test had two problems: FS-manipulation (creates a FAT fs) even
for non-512-byte sectors, and it had a now-unexpected line in the
expected output of its final command.
* tests/t1100-busy-label.sh: Use require_512_byte_sector_size_,
so that we skip this test when in non-512-sector size mode.
Remove the now-bogus line.
Note: this test is not normally run.
In order to run it, you have to run as root and set two envvars, e.g.,
sudo make check DEVICE_TO_ERASE=/dev/sde DEVICE_TO_ERASE_SIZE=16.4MB
tests/t1100-busy-label.sh