From 1b2c0ba9c6c1a9c90f540023cc842775df0769ea Mon Sep 17 00:00:00 2001 From: Alvin Schiller <103769832+AlvinSchiller@users.noreply.github.com> Date: Mon, 15 Apr 2024 10:08:40 +0000 Subject: [PATCH] fix: update testdata for special chars --- .../run_installation_autohotspot_NetworkManager.sh | 12 +++++++++--- .../tests/run_installation_autohotspot_dhcpcd.sh | 12 +++++++++--- .../installscripts/tests/run_installation_classic.sh | 4 ++-- .../installscripts/tests/run_installation_rfid.sh | 4 ++-- .../installscripts/tests/run_installation_spotify.sh | 4 ++-- .../tests/run_installation_staticip_dhcpcd.sh | 8 ++++---- 6 files changed, 28 insertions(+), 16 deletions(-) diff --git a/scripts/installscripts/tests/run_installation_autohotspot_NetworkManager.sh b/scripts/installscripts/tests/run_installation_autohotspot_NetworkManager.sh index 0979e7c72..f3f483876 100644 --- a/scripts/installscripts/tests/run_installation_autohotspot_NetworkManager.sh +++ b/scripts/installscripts/tests/run_installation_autohotspot_NetworkManager.sh @@ -17,7 +17,8 @@ echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selecti # y confirm interactive mode # n configure wifi (extra ENTER) # y configure autohotspot -# y use autohotspot default config (extra ENTER) +# n use autohotspot default config +# y use custom data (extra ENTER) # y use default audio iface (extra ENTER) # n spotify (extra ENTER) # y audio default location (extra ENTER) @@ -27,10 +28,15 @@ echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selecti # n reboot export CI_TEST_DHCPCD="false" export CI_TEST_NETWORKMANAGER="true" -./../install-jukebox.sh <<< "y +./../install-jukebox.sh <<< 'y n y +n +a!b"c§d$e%f&g/h(i)j=k?l´m`n²o³p{q[r]s}t\u+v*w~x#y'\''z,ß;ä.ö:ü-Ä_Ö Ü@1€2^3°4567890 +DE +a!b"c§d$e%f&g/h(i)j=k?l´m`n²o³p{q[r]s}t\u+v*w~x#y'\''z,ß;ä.ö:ü-Ä_Ö Ü@1€2^3°4567890 +192.168.100.2 y y @@ -44,7 +50,7 @@ y y n n -" +' INSTALLATION_EXITCODE=$? # Test installation diff --git a/scripts/installscripts/tests/run_installation_autohotspot_dhcpcd.sh b/scripts/installscripts/tests/run_installation_autohotspot_dhcpcd.sh index 7091399bb..6188b3579 100644 --- a/scripts/installscripts/tests/run_installation_autohotspot_dhcpcd.sh +++ b/scripts/installscripts/tests/run_installation_autohotspot_dhcpcd.sh @@ -17,7 +17,8 @@ echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selecti # y confirm interactive mode # n configure wifi (extra ENTER) # y configure autohotspot -# y use autohotspot default config (extra ENTER) +# n use autohotspot default config +# y use custom data (extra ENTER) # y use default audio iface (extra ENTER) # n spotify (extra ENTER) # y audio default location (extra ENTER) @@ -27,10 +28,15 @@ echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selecti # n reboot export CI_TEST_DHCPCD="true" export CI_TEST_NETWORKMANAGER="false" -./../install-jukebox.sh <<< "y +./../install-jukebox.sh <<< 'y n y +n +a!b"c§d$e%f&g/h(i)j=k?l´m`n²o³p{q[r]s}t\u+v*w~x#y'\''z,ß;ä.ö:ü-Ä_Ö Ü@1€2^3°4567890 +DE +a!b"c§d$e%f&g/h(i)j=k?l´m`n²o³p{q[r]s}t\u+v*w~x#y'\''z,ß;ä.ö:ü-Ä_Ö Ü@1€2^3°4567890 +10.0.0.1 y y @@ -44,7 +50,7 @@ y y n n -" +' INSTALLATION_EXITCODE=$? # Test installation diff --git a/scripts/installscripts/tests/run_installation_classic.sh b/scripts/installscripts/tests/run_installation_classic.sh index 434efc360..f52567f19 100644 --- a/scripts/installscripts/tests/run_installation_classic.sh +++ b/scripts/installscripts/tests/run_installation_classic.sh @@ -26,7 +26,7 @@ echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selecti # n RFID registration # n reboot -./../install-jukebox.sh <<< "y +./../install-jukebox.sh <<< 'y n n @@ -42,7 +42,7 @@ y y n n -" +' INSTALLATION_EXITCODE=$? # Test installation diff --git a/scripts/installscripts/tests/run_installation_rfid.sh b/scripts/installscripts/tests/run_installation_rfid.sh index d9f150ad8..e3cfa08c2 100644 --- a/scripts/installscripts/tests/run_installation_rfid.sh +++ b/scripts/installscripts/tests/run_installation_rfid.sh @@ -28,7 +28,7 @@ echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selecti # y, use legacy readermode # n reboot -./../install-jukebox.sh <<< "y +./../install-jukebox.sh <<< 'y n n @@ -47,7 +47,7 @@ y y y n -" +' INSTALLATION_EXITCODE=$? # Test installation diff --git a/scripts/installscripts/tests/run_installation_spotify.sh b/scripts/installscripts/tests/run_installation_spotify.sh index e65552b5d..97d1e27c8 100644 --- a/scripts/installscripts/tests/run_installation_spotify.sh +++ b/scripts/installscripts/tests/run_installation_spotify.sh @@ -33,8 +33,8 @@ n y y -abc$defghijkl&mnopqrstuvwxyzßäöüÄÖÜ$1234567890 -!"§$%&/()=?´`²³{[]}\+*~#'\'',;.:-_ @€^° +a!b"c§d$e%f&g/h(i)j=k?l´m`n²o³p{q[r]s}t\u+v*w~x#y'\''z,ß;ä.ö:ü-Ä_Ö Ü@1€2^3°4567890 +a!b"c§d$e%f&g/h(i)j=k?l´m`n²o³p{q[r]s}t\u+v*w~x#y'\''z,ß;ä.ö:ü-Ä_Ö Ü@1€2^3°4567890 myclient_id myclient+SECRET/0123456789= diff --git a/scripts/installscripts/tests/run_installation_staticip_dhcpcd.sh b/scripts/installscripts/tests/run_installation_staticip_dhcpcd.sh index a01610170..a1edf9b08 100644 --- a/scripts/installscripts/tests/run_installation_staticip_dhcpcd.sh +++ b/scripts/installscripts/tests/run_installation_staticip_dhcpcd.sh @@ -28,11 +28,11 @@ echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selecti # n reboot export CI_TEST_DHCPCD="true" export CI_TEST_NETWORKMANAGER="false" -./../install-jukebox.sh <<< "y +./../install-jukebox.sh <<< 'y y -TestWifi +a!b"c§d$e%f&g/h(i)j=k?l´m`n²o³p{q[r]s}t\u+v*w~x#y'\''z,ß;ä.ö:ü-Ä_Ö Ü@1€2^3°4567890 DE -TestWifiPW +a!b"c§d$e%f&g/h(i)j=k?l´m`n²o³p{q[r]s}t\u+v*w~x#y'\''z,ß;ä.ö:ü-Ä_Ö Ü@1€2^3°4567890 192.168.100.2 192.168.100.1 y @@ -50,7 +50,7 @@ y y n n -" +' INSTALLATION_EXITCODE=$? # Test installation