aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-08-16 19:24:04 +0200
committerJakob Unterwurzacher2021-08-16 19:24:04 +0200
commite2d3834b1c4aec2544369361f4b572c4f80dc544 (patch)
treef9a0b26c3e29870eb0f64074419b30f97acb8a48
parentb2724070d95234a8cd281f275211e0f827a8bbe1 (diff)
tests/root_test: show failing command detail
https://github.com/kdave/btrfs-progs/issues/392
-rw-r--r--tests/root_test/root_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/root_test/root_test.go b/tests/root_test/root_test.go
index e68f86a..5a98feb 100644
--- a/tests/root_test/root_test.go
+++ b/tests/root_test/root_test.go
@@ -336,6 +336,7 @@ func TestBtrfsQuirks(t *testing.T) {
cmd := exec.Command("mkfs.btrfs", img)
out, err := cmd.CombinedOutput()
if err != nil {
+ t.Logf("%q", cmd.Args)
t.Log(string(out))
t.Fatal(err)
}