]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - tests/ts/fdisk/gpt
tests: split stdout and stderr
[thirdparty/util-linux.git] / tests / ts / fdisk / gpt
index 62dce6d6fb1c4dbf080708c7b32c8bba6819ffcf..ee8d83f1bce08dec20a3a320550572ec07643abd 100755 (executable)
@@ -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 2>&1
+       $TS_CMD_FDISK -l ${TEST_IMAGE_NAME} >> $TS_OUTPUT 2>> $TS_ERRLOG
        echo -ne   "-------------------\n\n" >> $TS_OUTPUT
 }