From: Frantisek Sumsal Date: Wed, 23 Aug 2023 13:10:23 +0000 (+0200) Subject: test: use the correct file name when restoring the original fstab X-Git-Tag: v255-rc1~660 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9541addff028b56724df79fcf5b88e1544403957;p=thirdparty%2Fsystemd.git test: use the correct file name when restoring the original fstab --- diff --git a/test/units/testsuite-07.mount-invalid-chars.sh b/test/units/testsuite-07.mount-invalid-chars.sh index 5a07d14d043..a8793348696 100755 --- a/test/units/testsuite-07.mount-invalid-chars.sh +++ b/test/units/testsuite-07.mount-invalid-chars.sh @@ -52,7 +52,7 @@ systemctl daemon-reload [[ "$(systemctl show -P UnitFileState foo-fstab-opt.mount)" == bad ]] rm -f /etc/fstab -[[ -e /tmp/fstab.bak ]] && mv -f /tmp/fstab /etc/fstab +[[ -e /tmp/fstab.bak ]] && mv -f /tmp/fstab.bak /etc/fstab systemctl daemon-reload # c) Mount unit