]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/.../osd-scrub-test.sh: don't use /etc/fstab to corrupt the data
authorSamuel Just <sjust@redhat.com>
Thu, 23 Feb 2023 00:27:47 +0000 (16:27 -0800)
committerRonen Friedman <rfriedma@redhat.com>
Wed, 28 May 2025 12:54:30 +0000 (12:54 +0000)
commit5733315b1bef65745bcb60690b9a29ece1c5f448
tree5289802b99605b3a905d187e613202880d1ba4b3
parent7c02d0e03fe95683be574c8d2e090a5cadec4af4
qa/.../osd-scrub-test.sh: don't use /etc/fstab to corrupt the data

Generally, it's more portable not to rely on specific system files to be
readable.  Specifically, container environments may not have an fstab.
Instead, just generate another random file.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit d8be43e39ad532a15db143c93e78029f075e3658)
qa/standalone/scrub/osd-scrub-test.sh