We need to change into the directory during the same shell session as we actually
run the dd...
Fixes: #10861
Backport: hammer, giant, firefly, dumpling
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit
8aeacaa59f32b15aa95a529d1040cb73cbd7efcc)
- ceph-fuse:
- exec:
client.0:
- - cd $TESTDIR/mnt.*
- - dd if=/dev/zero of=./foo count=100
+ - cd $TESTDIR/mnt.* && dd if=/dev/zero of=./foo count=100
- sleep 2
- - truncate --size 0 ./foo
+ - cd $TESTDIR/mnt.* && truncate --size 0 ./foo