]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - tests/ts/mount/fstab-devname2label
tests: split stdout and stderr
[thirdparty/util-linux.git] / tests / ts / mount / fstab-devname2label
index 02ef1ef18d341d74118d7f3821492a2f5d9d96ba..cd39dfd89c3a286b65199c826b48b24ecf3eb67f 100755 (executable)
@@ -41,7 +41,7 @@ ts_device_has "LABEL" $LABEL $DEVICE \
 ts_fstab_add "LABEL=$LABEL"
 ts_udevadm_settle "$DEVICE" "LABEL"
 
-$TS_CMD_MOUNT $DEVICE >> $TS_OUTPUT 2>&1
+$TS_CMD_MOUNT $DEVICE >> $TS_OUTPUT 2>> $TS_ERRLOG
 ts_is_mounted $DEVICE || ts_die "Cannot find $DEVICE in /proc/mounts"
 $TS_CMD_UMOUNT $DEVICE || ts_die "Cannot umount $DEVICE"