Skip to content

Commit

Permalink
test: check for btrfs in the current directory
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
adrianreber committed Nov 29, 2023
1 parent 5e56756 commit 4213f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/jenkins/criu-fault.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4213f16

Please sign in to comment.