From 267c6f2ac71f92999e969232431ba04678e7437e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 07:54:39 +0200 Subject: Adding upstream version 4:24.2.0. Signed-off-by: Daniel Baumann --- external/onlineupdate/qa/lang_packs/Makefile | 21 ++++++++++++++++ .../qa/lang_packs/update_en_signed.mar | Bin 0 -> 667 bytes .../onlineupdate/qa/lang_packs/update_signed.mar | Bin 0 -> 650 bytes .../onlineupdate/qa/lang_packs/updater_lang.zip | Bin 0 -> 899 bytes external/onlineupdate/qa/replace_request/Makefile | 17 +++++++++++++ external/onlineupdate/qa/replace_request/README | 3 +++ .../onlineupdate/qa/replace_request/updater.zip | Bin 0 -> 1519 bytes external/onlineupdate/qa/single_step/Makefile | 27 +++++++++++++++++++++ .../qa/single_step/complete_signed.mar | Bin 0 -> 2025 bytes .../qa/single_step/incremental_signed.mar | Bin 0 -> 730 bytes .../onlineupdate/qa/single_step/single_step.zip | Bin 0 -> 1271 bytes 11 files changed, 68 insertions(+) create mode 100644 external/onlineupdate/qa/lang_packs/Makefile create mode 100644 external/onlineupdate/qa/lang_packs/update_en_signed.mar create mode 100644 external/onlineupdate/qa/lang_packs/update_signed.mar create mode 100644 external/onlineupdate/qa/lang_packs/updater_lang.zip create mode 100644 external/onlineupdate/qa/replace_request/Makefile create mode 100644 external/onlineupdate/qa/replace_request/README create mode 100644 external/onlineupdate/qa/replace_request/updater.zip create mode 100644 external/onlineupdate/qa/single_step/Makefile create mode 100644 external/onlineupdate/qa/single_step/complete_signed.mar create mode 100644 external/onlineupdate/qa/single_step/incremental_signed.mar create mode 100644 external/onlineupdate/qa/single_step/single_step.zip (limited to 'external/onlineupdate/qa') diff --git a/external/onlineupdate/qa/lang_packs/Makefile b/external/onlineupdate/qa/lang_packs/Makefile new file mode 100644 index 0000000000..d328472f53 --- /dev/null +++ b/external/onlineupdate/qa/lang_packs/Makefile @@ -0,0 +1,21 @@ +gb_Side := host +include ../../../config_host.mk + +UPDATER_DIR := $(WORKDIR)/updater/lang_pack + +all : call + +unpack: + @echo "Unpacking the updater test project" + @rm -r $(UPDATER_DIR) || true + @mkdir -p $(WORKDIR)/updater/ + @unzip updater_lang.zip -d $(WORKDIR)/updater > /dev/null + @cp update_signed.mar $(UPDATER_DIR)/user/patch/update.mar + @cp update_en_signed.mar $(UPDATER_DIR)/user/patch/update_en_signed.mar + +call: unpack + @echo "Update the test project" + @$(INSTDIR)/program/updater $(UPDATER_DIR)/user/patch $(UPDATER_DIR) $(UPDATER_DIR)/user/update -1 + +call-gdb: unpack + gdb --args $(INSTDIR)/program/updater $(UPDATER_DIR)/user/patch $(UPDATER_DIR) $(UPDATER_DIR)/user/update -1 diff --git a/external/onlineupdate/qa/lang_packs/update_en_signed.mar b/external/onlineupdate/qa/lang_packs/update_en_signed.mar new file mode 100644 index 0000000000..b72d1c5df6 Binary files /dev/null and b/external/onlineupdate/qa/lang_packs/update_en_signed.mar differ diff --git a/external/onlineupdate/qa/lang_packs/update_signed.mar b/external/onlineupdate/qa/lang_packs/update_signed.mar new file mode 100644 index 0000000000..a145d6325c Binary files /dev/null and b/external/onlineupdate/qa/lang_packs/update_signed.mar differ diff --git a/external/onlineupdate/qa/lang_packs/updater_lang.zip b/external/onlineupdate/qa/lang_packs/updater_lang.zip new file mode 100644 index 0000000000..05b206bc89 Binary files /dev/null and b/external/onlineupdate/qa/lang_packs/updater_lang.zip differ diff --git a/external/onlineupdate/qa/replace_request/Makefile b/external/onlineupdate/qa/replace_request/Makefile new file mode 100644 index 0000000000..476e93213c --- /dev/null +++ b/external/onlineupdate/qa/replace_request/Makefile @@ -0,0 +1,17 @@ +gb_Side := host +include ../../../config_host.mk + +UPDATER_DIR := $(WORKDIR)/updater/replace_request + +unpack: + @echo "Unpacking the updater test project" + @rm -r $(UPDATER_DIR) || true + @mkdir -p $(WORKDIR)/updater + @unzip updater.zip -d $(WORKDIR)/updater > /dev/null + +call: unpack + @echo "Update the test project" + @$(INSTDIR)/program/updater $(UPDATER_DIR)/user/patch $(UPDATER_DIR) $(UPDATER_DIR)/user/update /replace + +call-gdb: unpack + gdb --args $(INSTDIR)/program/updater $(UPDATER_DIR)/user/patch $(UPDATER_DIR) $(UPDATER_DIR)/user/update /replace diff --git a/external/onlineupdate/qa/replace_request/README b/external/onlineupdate/qa/replace_request/README new file mode 100644 index 0000000000..f50c692fd6 --- /dev/null +++ b/external/onlineupdate/qa/replace_request/README @@ -0,0 +1,3 @@ +Tests the replacement request done by the automatic updater + +After calling 'make call' the content in workdir/updater/program/datei.txt should say "new". diff --git a/external/onlineupdate/qa/replace_request/updater.zip b/external/onlineupdate/qa/replace_request/updater.zip new file mode 100644 index 0000000000..dc5e26b0f2 Binary files /dev/null and b/external/onlineupdate/qa/replace_request/updater.zip differ diff --git a/external/onlineupdate/qa/single_step/Makefile b/external/onlineupdate/qa/single_step/Makefile new file mode 100644 index 0000000000..f303992baa --- /dev/null +++ b/external/onlineupdate/qa/single_step/Makefile @@ -0,0 +1,27 @@ +gb_Side := host +include ../../../config_host.mk + +UPDATER_DIR := $(WORKDIR)/updater/single_step + +all : call + +unpack: + @echo "Unpacking the updater test project" + @rm -r $(UPDATER_DIR) || true + @mkdir -p $(UPDATER_DIR) + @unzip single_step.zip -d $(WORKDIR)/updater > /dev/null + @mkdir -p $(UPDATER_DIR)/patch + +call-complete: unpack + @echo "Update the test project" + @cp complete_signed.mar $(UPDATER_DIR)/patch/update.mar + @$(INSTDIR)/program/updater $(UPDATER_DIR)/patch $(UPDATER_DIR) $(UPDATER_DIR) 0 + +call-incremental: unpack + @echo "Update the test project" + @cp incremental_signed.mar $(UPDATER_DIR)/patch/update.mar + @$(INSTDIR)/program/updater $(UPDATER_DIR)/patch $(UPDATER_DIR) $(UPDATER_DIR) 0 + +call-gdb: unpack + @cp incremental_signed.mar $(UPDATER_DIR)/patch/update.mar + gdb --args $(INSTDIR)/program/updater $(UPDATER_DIR)/patch $(UPDATER_DIR) $(UPDATER_DIR) 0 diff --git a/external/onlineupdate/qa/single_step/complete_signed.mar b/external/onlineupdate/qa/single_step/complete_signed.mar new file mode 100644 index 0000000000..7b0631dd33 Binary files /dev/null and b/external/onlineupdate/qa/single_step/complete_signed.mar differ diff --git a/external/onlineupdate/qa/single_step/incremental_signed.mar b/external/onlineupdate/qa/single_step/incremental_signed.mar new file mode 100644 index 0000000000..6ec6e7a1a9 Binary files /dev/null and b/external/onlineupdate/qa/single_step/incremental_signed.mar differ diff --git a/external/onlineupdate/qa/single_step/single_step.zip b/external/onlineupdate/qa/single_step/single_step.zip new file mode 100644 index 0000000000..823a590e08 Binary files /dev/null and b/external/onlineupdate/qa/single_step/single_step.zip differ -- cgit v1.2.3