From bab87cbd9d0ba0b576418ca5045fa5c92b196ede Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sun, 3 Dec 2023 09:32:36 -0500 Subject: [PATCH] tests: Drop bare-user on tmpfs negative test As of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2daf18a7884dc03d5164ab9c7dc3f2ea70638469 the restriction is lifted, FINALLY. --- .../itest-bareuser-nouserxattrs.sh | 24 ------------------- 1 file changed, 24 deletions(-) delete mode 100755 tests/kolainst/nondestructive/itest-bareuser-nouserxattrs.sh diff --git a/tests/kolainst/nondestructive/itest-bareuser-nouserxattrs.sh b/tests/kolainst/nondestructive/itest-bareuser-nouserxattrs.sh deleted file mode 100755 index 7908d31b..00000000 --- a/tests/kolainst/nondestructive/itest-bareuser-nouserxattrs.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -# Test that initializing a bare-user repo on tmpfs fails -# Maybe at some point this will be fixed in the kernel -# but I doubt it'll be soon -# https://www.spinics.net/lists/linux-mm/msg109775.html - -set -xeuo pipefail - -. ${KOLA_EXT_DATA}/libinsttest.sh - -prepare_tmpdir -trap _tmpdir_cleanup EXIT -date - -mkdir mnt -mount -t tmpfs tmpfs mnt -if ostree --repo=mnt/repo init --mode=bare-user 2>err.txt; then - umount mnt - assert_not_reached "bare-user on tmpfs worked?" -fi -umount mnt -assert_file_has_content err.txt "Operation not supported" -date