btrfs-progs/tests/fuzz-tests
Johannes Thumshirn e388bf386b btrfs-progs: check: warn users about the possible dangers of --repair
The manual page of btrfsck clearly states 'btrfs check --repair' is a
dangerous operation.

Although this warning is in place users do not read the manual page
and/or are used to the behaviour of fsck utilities which repair the
filesystem, and thus potentially cause harm.

Similar to 'btrfs balance' without any filters, add a warning and a
countdown, so users can bail out before eventual corrupting the
filesystem more than it already is.

To override the timeout, let --force skip it and continue.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: David Sterba <dsterba@suse.com>
2019-11-22 19:07:20 +01:00
..
001-simple-check-unmounted btrfs-progs: tests: remove trivial use of local variables 2018-03-30 22:15:55 +02:00
002-simple-image btrfs-progs: tests: remove trivial use of local variables 2018-03-30 22:15:55 +02:00
003-multi-check-unmounted btrfs-progs: check: warn users about the possible dangers of --repair 2019-11-22 19:07:20 +01:00
004-simple-dump-tree btrfs-progs: tests: remove trivial use of local variables 2018-03-30 22:15:55 +02:00
005-simple-dump-super btrfs-progs: tests: add shell quoting to fuzz test scripts 2018-03-30 22:15:55 +02:00
006-simple-tree-stats btrfs-progs: tests: remove trivial use of local variables 2018-03-30 22:15:55 +02:00
007-simple-super-recover btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
008-simple-chunk-recover btrfs-progs: tests: add shell quoting to fuzz test scripts 2018-03-30 22:15:55 +02:00
009-simple-zero-log btrfs-progs: tests: add shell quoting to fuzz test scripts 2018-03-30 22:15:55 +02:00
images btrfs-progs: test/fuzz: Add image for BUG_ON() when opening the fs by btrfs check 2018-08-06 15:03:11 +02:00