summaryrefslogtreecommitdiff
path: root/scripts/run-check.sh
blob: 6301305571595e67d9968f7aee62ebdef6f47e7f (plain)
1
2
3
4
5
6
#!/bin/bash
set -e
rm -f ../scratch/dump-check.img
cp --reflink=always ../scratch/dump-{clearnodes,check}.img
make -C ../btrfs-progs
time ../btrfs-progs/btrfs check --progress --repair ../scratch/dump-check.img