mirror of
https://github.com/versity/scoutfs.git
synced 2026-06-04 02:36:28 +00:00
Merge pull request #278 from versity/zab/test_sync_before_crash
Have run-tests monitor sync before crashing
This commit is contained in:
@@ -505,7 +505,10 @@ crash_monitor()
|
||||
fi
|
||||
|
||||
if [ "$bad" != 0 ]; then
|
||||
echo "run-tests monitor triggering crash"
|
||||
echo "run-tests monitor syncing and triggering crash"
|
||||
# hail mary, the sync could well hang
|
||||
(echo s > /proc/sysrq-trigger) &
|
||||
sleep 5
|
||||
echo c > /proc/sysrq-trigger
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user