diff options
author | Karel Zak | 2013-03-11 15:14:51 +0100 |
---|---|---|
committer | Karel Zak | 2013-03-11 15:14:51 +0100 |
commit | 32011e8925a97a56887217141fba1f6e22f1c458 (patch) | |
tree | 57b1dae9d9931876e7a5833d6b5c2cbe20244df3 /tests/ts/fdisk | |
parent | fdisk: remove comma from ask number dialog (diff) | |
download | kernel-qcow2-util-linux-32011e8925a97a56887217141fba1f6e22f1c458.tar.gz kernel-qcow2-util-linux-32011e8925a97a56887217141fba1f6e22f1c458.tar.xz kernel-qcow2-util-linux-32011e8925a97a56887217141fba1f6e22f1c458.zip |
tests: ignore stderr in fdisk -l
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/fdisk')
-rwxr-xr-x | tests/ts/fdisk/gpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/fdisk/gpt b/tests/ts/fdisk/gpt index 179e9387f..a0902ca9f 100755 --- a/tests/ts/fdisk/gpt +++ b/tests/ts/fdisk/gpt @@ -36,7 +36,7 @@ FDISK_CMD_CREATE_PART="n\n2\n\n\n" # create 2nd partition function print_layout { echo -ne "\n---layout----------" >> $TS_OUTPUT - $TS_CMD_FDISK -l ${TEST_IMAGE_NAME} | \ + $TS_CMD_FDISK -l ${TEST_IMAGE_NAME} 2> /dev/null | \ sed 's/^.*\.img/__ts_dev__/g; s/^[[:blank:]]*Device Boot/ Device Boot/g' >> $TS_OUTPUT 2>&1 echo -ne "-------------------\n\n" >> $TS_OUTPUT |