mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
test: check for btrfs in the current directory
The old test was checking if '/' is btrfs but we should check if the current directory is btrfs. Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
parent
fc94b2d158
commit
900909d95e
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ prep
|
|||
./test/zdtm.py run -t zdtm/static/maps00 --fault 3 --report report -f h || fail
|
||||
|
||||
# FIXME: fhandles looks broken on btrfs
|
||||
grep -P "/.* / " /proc/self/mountinfo | grep -q btrfs || NOBTRFS=$?
|
||||
findmnt --noheadings --target . | grep -q btrfs || NOBTRFS=$?
|
||||
if [ $NOBTRFS -eq 1 ] ; then
|
||||
./test/zdtm.py run -t zdtm/static/inotify_irmap --fault 128 --pre 2 -f uns || fail
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue