diff options
author | Francesco Cosoleto | 2011-01-24 06:41:58 +0100 |
---|---|---|
committer | Karel Zak | 2011-01-24 10:16:58 +0100 |
commit | 9b33ae9a15664aae0dd71cd9aa129a592bdc26c8 (patch) | |
tree | 07b175f15a4036d05159cd05ea10697a1fd4f823 /tests/ts/fdisk/align-512-4K | |
parent | fdisk: more meaningful error messages (use err.h) (diff) | |
download | kernel-qcow2-util-linux-9b33ae9a15664aae0dd71cd9aa129a592bdc26c8.tar.gz kernel-qcow2-util-linux-9b33ae9a15664aae0dd71cd9aa129a592bdc26c8.tar.xz kernel-qcow2-util-linux-9b33ae9a15664aae0dd71cd9aa129a592bdc26c8.zip |
tests: ignore device name used in some fdisk and blkid tests
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Diffstat (limited to 'tests/ts/fdisk/align-512-4K')
-rwxr-xr-x | tests/ts/fdisk/align-512-4K | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ts/fdisk/align-512-4K b/tests/ts/fdisk/align-512-4K index cae343948..cf3bbc062 100755 --- a/tests/ts/fdisk/align-512-4K +++ b/tests/ts/fdisk/align-512-4K @@ -82,7 +82,8 @@ cat /sys/block/${DEVNAME}/${DEVNAME}{1,2,3,4,5,6,7}/alignment_offset >> $TS_OUTP sleep 3 rmmod scsi_debug -# remove disk ID +# remove device name used and disk ID +sed -i -e "s/\/dev\/${DEVNAME}/\/dev\/.../g" $TS_OUTPUT sed -i -e 's/Disk identifier:.*//g' $TS_OUTPUT sed -i -e 's/Building a new.*//g' $TS_OUTPUT |