From c202a2bbbb23cd0b07202c4d61eb61ff520ff81f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Dalleau?=
 <frederic.dalleau@collabora.com>
Date: Tue, 21 May 2019 13:05:34 +0000
Subject: [PATCH] Stop calling 'env default -a'
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

That command is no longer needed because the u-boot environment is now
partially stored directly in the image. Everytime the image is reflashed, the
environment is wiped out.

Signed-off-by: Frédéric Dalleau <frederic.dalleau@collabora.com>
---
 test-cases/apertis-update-manager-api.yaml        | 1 -
 test-cases/apertis-update-manager-automount.yaml  | 1 -
 test-cases/apertis-update-manager-diskfull.yaml   | 1 -
 test-cases/apertis-update-manager-powercut.yaml   | 1 -
 test-cases/apertis-update-manager-rollback.yaml   | 1 -
 test-cases/apertis-update-manager-usb-unplug.yaml | 1 -
 6 files changed, 6 deletions(-)

diff --git a/test-cases/apertis-update-manager-api.yaml b/test-cases/apertis-update-manager-api.yaml
index 840ae28..c8b58d6 100644
--- a/test-cases/apertis-update-manager-api.yaml
+++ b/test-cases/apertis-update-manager-api.yaml
@@ -16,7 +16,6 @@ metadata:
     - "A static update bundle file of the same architecture, variant and version as the testing image"
     - "A Fat32 USB flash drive, preloaded with the update bundle at the root of the disk"
     - "Downloaded update file (with '.delta' extension) should be copied to flash drive using the name 'static-update.bundle'"
-    - "The DUT u-boot environment must be clean: in u-boot, run: `env default -a` followed by `saveenv`"
     - "A PC must be connected to DUT serial port"
 
   expected:
diff --git a/test-cases/apertis-update-manager-automount.yaml b/test-cases/apertis-update-manager-automount.yaml
index e04e4b1..07a6202 100644
--- a/test-cases/apertis-update-manager-automount.yaml
+++ b/test-cases/apertis-update-manager-automount.yaml
@@ -15,7 +15,6 @@ metadata:
     - "A static update bundle file of the same architecture, variant and version as the testing image"
     - "A Fat32 USB flash drive, preloaded with the update bundle at the root of the disk"
     - "Downloaded update file (with '.delta' extension) should be copied to flash drive using the name 'static-update.bundle'"
-    - "The DUT u-boot environment must be clean: in u-boot, run: `env default -a` followed by `saveenv`"
     - "A PC must be connected to DUT serial port"
 
   expected:
diff --git a/test-cases/apertis-update-manager-diskfull.yaml b/test-cases/apertis-update-manager-diskfull.yaml
index ab56686..6c35364 100644
--- a/test-cases/apertis-update-manager-diskfull.yaml
+++ b/test-cases/apertis-update-manager-diskfull.yaml
@@ -16,7 +16,6 @@ metadata:
     - "A static update bundle file of the same architecture, variant and version as the testing image"
     - "A Fat32 USB flash drive, preloaded with the update bundle at the root of the disk"
     - "Downloaded update file (with '.delta' extension) should be copied to flash drive using the name 'static-update.bundle'"
-    - "The DUT u-boot environment must be clean: in u-boot, run: `env default -a` followed by `saveenv`"
     - "A PC must be connected to DUT serial port"
 
   expected:
diff --git a/test-cases/apertis-update-manager-powercut.yaml b/test-cases/apertis-update-manager-powercut.yaml
index 3f0d900..62529dd 100644
--- a/test-cases/apertis-update-manager-powercut.yaml
+++ b/test-cases/apertis-update-manager-powercut.yaml
@@ -16,7 +16,6 @@ metadata:
     - "A static update bundle file of the same architecture, variant and version as the testing image"
     - "A Fat32 USB flash drive, preloaded with the update bundle at the root of the disk"
     - "Downloaded update file (with '.delta' extension) should be copied to flash drive using the name 'static-update.bundle'"
-    - "The DUT u-boot environment must be clean: in u-boot, run: `env default -a` followed by `saveenv`"
     - "A PC must be connected to DUT serial port"
 
   expected:
diff --git a/test-cases/apertis-update-manager-rollback.yaml b/test-cases/apertis-update-manager-rollback.yaml
index 23aef6d..a117a59 100644
--- a/test-cases/apertis-update-manager-rollback.yaml
+++ b/test-cases/apertis-update-manager-rollback.yaml
@@ -16,7 +16,6 @@ metadata:
     - "A static update bundle file of the same architecture, variant and version as the testing image"
     - "A Fat32 USB flash drive, preloaded with the update bundle at the root of the disk"
     - "Downloaded update file (with '.delta' extension) should be copied to flash drive using the name 'static-update.bundle'"
-    - "The DUT u-boot environment must be clean: in u-boot, run: `env default -a` followed by `saveenv`"
     - "A PC must be connected to DUT serial port"
 
   expected:
diff --git a/test-cases/apertis-update-manager-usb-unplug.yaml b/test-cases/apertis-update-manager-usb-unplug.yaml
index 56a1634..b5a291e 100644
--- a/test-cases/apertis-update-manager-usb-unplug.yaml
+++ b/test-cases/apertis-update-manager-usb-unplug.yaml
@@ -15,7 +15,6 @@ metadata:
     - "A static update bundle file of the same architecture, variant and version as the testing image"
     - "A Fat32 USB flash drive, preloaded with the update bundle at the root of the disk"
     - "Downloaded update file (with '.delta' extension) should be copied to flash drive using the name 'static-update.bundle'"
-    - "The DUT u-boot environment must be clean: in u-boot, run: `env default -a` followed by `saveenv`"
     - "A PC must be connected to DUT serial port"
 
   expected:
-- 
GitLab