btrfs-progs: Introduce btrfs_raid_array and related infrastructures
[platform/upstream/btrfs-progs.git] / tests / common
index fae30f1..4b266c5 100644 (file)
@@ -54,6 +54,13 @@ _log()
        echo "$*" | tee -a "$RESULTS"
 }
 
+# copy stdout to log and pass to stdout, eg. another stdout consumer, commands
+# should redirect stderr to stdout if this is consmed by further commands
+_log_stdout()
+{
+       tee -a "$RESULTS"
+}
+
 _not_run()
 {
        echo "    [NOTRUN] $*"