Fix generated /etc/os-release file in OS check test

Signed-off-by: MichaIng <micha@dietpi.com>
pull/4443/head
MichaIng 2 years ago committed by GitHub
parent 671fcaffc3
commit 14a379d448
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1085,9 +1085,9 @@ def test_os_check_fails(host):
install_dependent_packages ${OS_CHECK_DEPS[@]}
install_dependent_packages ${INSTALLER_DEPS[@]}
cat <<EOT > /etc/os-release
ID=UnsupportedOS
VERSION_ID="2"
EOT
ID=UnsupportedOS
VERSION_ID="2"
EOT
''')
detectOS = host.run('''t
source /opt/pihole/basic-install.sh

Loading…
Cancel
Save