]> sourceware.org Git - lvm2.git/commitdiff
tests: aux collects stack trace when stuck is assumed
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 10 Sep 2020 15:05:02 +0000 (17:05 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Thu, 10 Sep 2020 21:55:03 +0000 (23:55 +0200)
Automatically collect traces in this case.

test/lib/aux.sh

index d5509a7638255ce2f5955c86c675dbdb4a357fb9..1418bb4733e481b7f2b0462e0bd7ef243a94991f 100644 (file)
@@ -1480,6 +1480,7 @@ wait_for_sync() {
        done
 
        echo "Sync is taking too long - assume stuck"
+       echo t >/proc/sysrq-trigger 2>/dev/null
        return 1
 }
 
This page took 0.035489 seconds and 5 git commands to generate.