summaryrefslogtreecommitdiffstats
path: root/tests/ts/fdisk/gpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/fdisk/gpt')
-rwxr-xr-xtests/ts/fdisk/gpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/fdisk/gpt b/tests/ts/fdisk/gpt
index fd9c23e07..62dce6d6f 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----------\n" >> $TS_OUTPUT
- $TS_CMD_FDISK -l ${TEST_IMAGE_NAME} &>> $TS_OUTPUT
+ $TS_CMD_FDISK -l ${TEST_IMAGE_NAME} >> $TS_OUTPUT 2>&1
echo -ne "-------------------\n\n" >> $TS_OUTPUT
}