]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(test): nullglob should not be needed
authorPavel Valena <pvalena@redhat.com>
Fri, 25 Mar 2022 15:57:28 +0000 (16:57 +0100)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Mon, 4 Apr 2022 08:00:10 +0000 (08:00 +0000)
test/TEST-04-FULL-SYSTEMD/test.sh

index 38cb14645dd48f1822d3db8a1f965851adf486d9..c44151b9b0cefaee882bed3b5df477d0b272394f 100755 (executable)
@@ -47,8 +47,8 @@ test_run() {
 
 test_setup() {
     # shellcheck disable=SC2064
-    trap "$(shopt -p nullglob globstar)" RETURN
-    shopt -q -s nullglob globstar
+    trap "$(shopt -p globstar)" RETURN
+    shopt -q -s globstar
 
     export kernel=$KVERSION
     # Create what will eventually be our root filesystem onto an overlay