]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: make libmount tests more portable
authorKarel Zak <kzak@redhat.com>
Mon, 4 Apr 2022 13:59:36 +0000 (15:59 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 20 Jul 2022 15:18:23 +0000 (17:18 +0200)
git tree on macbook:
...
warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:

  'tests/expected/libmount/optstr-apply-user-X'
  'tests/expected/libmount/optstr-apply-user-x'

Let's rename the files.

Addresses: https://github.com/util-linux/util-linux/issues/1583
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/expected/libmount/optstr-apply-user-large-X [moved from tests/expected/libmount/optstr-apply-user-X with 100% similarity]
tests/expected/libmount/optstr-apply-user-small-x [moved from tests/expected/libmount/optstr-apply-user-x with 100% similarity]
tests/ts/libmount/optstr

index d15e6bd079065c70d4a0f2f78eb2a24febb74335..03a1635eb8aa5c96081fcb745ba1dfef586db8c6 100755 (executable)
@@ -112,14 +112,14 @@ ts_init_subtest "apply-user"
 ts_run $TESTPROG --apply --user "noexec,nosuid,loop=/dev/looop0" 0x408 &> $TS_OUTPUT
 ts_finalize_subtest
 
-ts_init_subtest "apply-user-x"
+ts_init_subtest "apply-user-small-x"
 # Use userspace options map (--user), remove X-* and loop=, keep unknown 'something' and
 # keep by flags specified x-*
 ts_run $TESTPROG --apply --user \
        "something,loop=/dev/looop0,x-gvfs-hide,x-gdu.hide,x-canary,X-foo" 0x00002000 &> $TS_OUTPUT
 ts_finalize_subtest
 
-ts_init_subtest "apply-user-X"
+ts_init_subtest "apply-user-large-X"
 # Use userspace options map (--user), remove x-* and loop=, keep unknown 'something' and
 # keep by flags specified X-*
 ts_run $TESTPROG --apply --user \