]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/standalone: do not use /etc/fstab as an always-there bytes source 61812/head
authorRonen Friedman <rfriedma@redhat.com>
Thu, 13 Feb 2025 16:53:53 +0000 (10:53 -0600)
committerRonen Friedman <rfriedma@redhat.com>
Wed, 19 Feb 2025 15:29:07 +0000 (09:29 -0600)
commit8009a3d78f007f13d878b4e0853328ea1c308292
tree5a3cc1f37dd673ae7216784bc45fc1738f45301b
parent5b16367c7bd1782398bd08a1c239ec03bcfd0794
qa/standalone: do not use /etc/fstab as an always-there bytes source

Multiple tests use /etc/fstab when a small data file is
required as input. After all, as some comments say:
    # something that is always there

Alas - it's not always there. Not in containers.

Replacing with a newly-created temporary file filled with
random bytes.
For completeness - replacing similar references to
/etc/resolv.conf (as a source for random objects) in
the standalone tests, too.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
qa/standalone/ceph-helpers.sh
qa/standalone/osd/divergent-priors.sh
qa/standalone/osd/repeer-on-acting-back.sh
qa/standalone/scrub/osd-scrub-test.sh