Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pi-hole/pi-hole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichaIng <micha@dietpi.com>2021-11-30 04:57:44 +0300
committerGitHub <noreply@github.com>2021-11-30 04:57:44 +0300
commit14a379d4485328b85c08ff6cee30b137210b23d5 (patch)
tree2988186ae7f12184196378bfb677e6ab8bb49932 /test
parent671fcaffc35021ff1510a9ce02362d8ab4981dd6 (diff)
Fix generated /etc/os-release file in OS check test
Signed-off-by: MichaIng <micha@dietpi.com>
Diffstat (limited to 'test')
-rw-r--r--test/test_automated_install.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_automated_install.py b/test/test_automated_install.py
index 911407fc..7959e100 100644
--- a/test/test_automated_install.py
+++ b/test/test_automated_install.py
@@ -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