diff mbox

[V2] fwts-test: update tests for the new uefirtauthvar tests

Message ID 1414565806-40094-1-git-send-email-ivan.hu@canonical.com
State Accepted
Headers show

Commit Message

Ivan Hu Oct. 29, 2014, 6:56 a.m. UTC
The new uefi test for authenticated variable has added, so sync up the
fwts-test with these new tests.

Signed-off-by: Ivan Hu <ivan.hu@canonical.com>
---
 .../arg-show-tests-0001/arg-show-tests-0001.log    |  2 ++
 .../arg-show-tests-full-0001.log                   | 30 +++++++++++++++++++++-
 2 files changed, 31 insertions(+), 1 deletion(-)

Comments

Colin Ian King Oct. 29, 2014, 12:56 p.m. UTC | #1
On 29/10/14 06:56, Ivan Hu wrote:
> The new uefi test for authenticated variable has added, so sync up the
> fwts-test with these new tests.
> 
> Signed-off-by: Ivan Hu <ivan.hu@canonical.com>
> ---
>  .../arg-show-tests-0001/arg-show-tests-0001.log    |  2 ++
>  .../arg-show-tests-full-0001.log                   | 30 +++++++++++++++++++++-
>  2 files changed, 31 insertions(+), 1 deletion(-)
> 
> diff --git a/fwts-test/arg-show-tests-0001/arg-show-tests-0001.log b/fwts-test/arg-show-tests-0001/arg-show-tests-0001.log
> index 1cd28db..1b45a6c 100644
> --- a/fwts-test/arg-show-tests-0001/arg-show-tests-0001.log
> +++ b/fwts-test/arg-show-tests-0001/arg-show-tests-0001.log
> @@ -71,6 +71,7 @@ Utilities:
>   uefivarinfo     UEFI variable info query.
>  
>  Unsafe tests:
> + uefirtauthvar   Authenticated variable tests.
>   uefirtmisc      UEFI miscellaneous runtime service interface tests.
>   uefirttime      UEFI Runtime service time interface tests.
>   uefirtvariable  UEFI Runtime service variable interface tests.
> @@ -79,6 +80,7 @@ UEFI tests:
>   csm             UEFI Compatibility Support Module test.
>   securebootcert  UEFI secure boot test.
>   uefibootpath    Sanity check for UEFI Boot Path Boot####.
> + uefirtauthvar   Authenticated variable tests.
>   uefirtmisc      UEFI miscellaneous runtime service interface tests.
>   uefirttime      UEFI Runtime service time interface tests.
>   uefirtvariable  UEFI Runtime service variable interface tests.
> diff --git a/fwts-test/arg-show-tests-full-0001/arg-show-tests-full-0001.log b/fwts-test/arg-show-tests-full-0001/arg-show-tests-full-0001.log
> index ca02bff..9acb0f5 100644
> --- a/fwts-test/arg-show-tests-full-0001/arg-show-tests-full-0001.log
> +++ b/fwts-test/arg-show-tests-full-0001/arg-show-tests-full-0001.log
> @@ -352,6 +352,20 @@ Utilities:
>    UEFI variable info query.
>  
>  Unsafe tests:
> + uefirtauthvar   (13 tests):
> +  Create authenticated variable test.
> +  Authenticated variable test with the same authenticated variable.
> +  Authenticated variable test with another valid authenticated variable.
> +  Append authenticated variable test.
> +  Update authenticated variable test.
> +  Authenticated variable test with old authenticated variable.
> +  Delete authenticated variable test.
> +  Authenticated variable test with invalid modified data.
> +  Authenticated variable test with invalid modified timestamp.
> +  Authenticated variable test with different guid.
> +  Authenticated variable test with invalid attributes.
> +  Test with both authenticated attributes are set.
> +  Set and delete authenticated variable created by different key test.
>   uefirtmisc      (2 tests):
>    Test for UEFI miscellaneous runtime service interfaces.
>    Stress test for UEFI miscellaneous runtime service interfaces.
> @@ -376,6 +390,20 @@ UEFI tests:
>    UEFI secure boot test.
>   uefibootpath    (1 test):
>    Test UEFI Boot Path Boot####.
> + uefirtauthvar   (13 tests):
> +  Create authenticated variable test.
> +  Authenticated variable test with the same authenticated variable.
> +  Authenticated variable test with another valid authenticated variable.
> +  Append authenticated variable test.
> +  Update authenticated variable test.
> +  Authenticated variable test with old authenticated variable.
> +  Delete authenticated variable test.
> +  Authenticated variable test with invalid modified data.
> +  Authenticated variable test with invalid modified timestamp.
> +  Authenticated variable test with different guid.
> +  Authenticated variable test with invalid attributes.
> +  Test with both authenticated attributes are set.
> +  Set and delete authenticated variable created by different key test.
>   uefirtmisc      (2 tests):
>    Test for UEFI miscellaneous runtime service interfaces.
>    Stress test for UEFI miscellaneous runtime service interfaces.
> @@ -393,4 +421,4 @@ UEFI tests:
>    Test UEFI RT service set variable interface stress test.
>    Test UEFI RT service query variable info interface stress test.
>  
> -Total of 310 tests
> +Total of 336 tests
> 

make check seems to work fine :-)

# TOTAL: 69
# PASS:  69
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0

Acked-by: Colin Ian King <colin.king@canonical.com>
Keng-Yu Lin Oct. 30, 2014, 8:55 a.m. UTC | #2
On Wed, Oct 29, 2014 at 2:56 PM, Ivan Hu <ivan.hu@canonical.com> wrote:
> The new uefi test for authenticated variable has added, so sync up the
> fwts-test with these new tests.
>
> Signed-off-by: Ivan Hu <ivan.hu@canonical.com>
> ---
>  .../arg-show-tests-0001/arg-show-tests-0001.log    |  2 ++
>  .../arg-show-tests-full-0001.log                   | 30 +++++++++++++++++++++-
>  2 files changed, 31 insertions(+), 1 deletion(-)
>
> diff --git a/fwts-test/arg-show-tests-0001/arg-show-tests-0001.log b/fwts-test/arg-show-tests-0001/arg-show-tests-0001.log
> index 1cd28db..1b45a6c 100644
> --- a/fwts-test/arg-show-tests-0001/arg-show-tests-0001.log
> +++ b/fwts-test/arg-show-tests-0001/arg-show-tests-0001.log
> @@ -71,6 +71,7 @@ Utilities:
>   uefivarinfo     UEFI variable info query.
>
>  Unsafe tests:
> + uefirtauthvar   Authenticated variable tests.
>   uefirtmisc      UEFI miscellaneous runtime service interface tests.
>   uefirttime      UEFI Runtime service time interface tests.
>   uefirtvariable  UEFI Runtime service variable interface tests.
> @@ -79,6 +80,7 @@ UEFI tests:
>   csm             UEFI Compatibility Support Module test.
>   securebootcert  UEFI secure boot test.
>   uefibootpath    Sanity check for UEFI Boot Path Boot####.
> + uefirtauthvar   Authenticated variable tests.
>   uefirtmisc      UEFI miscellaneous runtime service interface tests.
>   uefirttime      UEFI Runtime service time interface tests.
>   uefirtvariable  UEFI Runtime service variable interface tests.
> diff --git a/fwts-test/arg-show-tests-full-0001/arg-show-tests-full-0001.log b/fwts-test/arg-show-tests-full-0001/arg-show-tests-full-0001.log
> index ca02bff..9acb0f5 100644
> --- a/fwts-test/arg-show-tests-full-0001/arg-show-tests-full-0001.log
> +++ b/fwts-test/arg-show-tests-full-0001/arg-show-tests-full-0001.log
> @@ -352,6 +352,20 @@ Utilities:
>    UEFI variable info query.
>
>  Unsafe tests:
> + uefirtauthvar   (13 tests):
> +  Create authenticated variable test.
> +  Authenticated variable test with the same authenticated variable.
> +  Authenticated variable test with another valid authenticated variable.
> +  Append authenticated variable test.
> +  Update authenticated variable test.
> +  Authenticated variable test with old authenticated variable.
> +  Delete authenticated variable test.
> +  Authenticated variable test with invalid modified data.
> +  Authenticated variable test with invalid modified timestamp.
> +  Authenticated variable test with different guid.
> +  Authenticated variable test with invalid attributes.
> +  Test with both authenticated attributes are set.
> +  Set and delete authenticated variable created by different key test.
>   uefirtmisc      (2 tests):
>    Test for UEFI miscellaneous runtime service interfaces.
>    Stress test for UEFI miscellaneous runtime service interfaces.
> @@ -376,6 +390,20 @@ UEFI tests:
>    UEFI secure boot test.
>   uefibootpath    (1 test):
>    Test UEFI Boot Path Boot####.
> + uefirtauthvar   (13 tests):
> +  Create authenticated variable test.
> +  Authenticated variable test with the same authenticated variable.
> +  Authenticated variable test with another valid authenticated variable.
> +  Append authenticated variable test.
> +  Update authenticated variable test.
> +  Authenticated variable test with old authenticated variable.
> +  Delete authenticated variable test.
> +  Authenticated variable test with invalid modified data.
> +  Authenticated variable test with invalid modified timestamp.
> +  Authenticated variable test with different guid.
> +  Authenticated variable test with invalid attributes.
> +  Test with both authenticated attributes are set.
> +  Set and delete authenticated variable created by different key test.
>   uefirtmisc      (2 tests):
>    Test for UEFI miscellaneous runtime service interfaces.
>    Stress test for UEFI miscellaneous runtime service interfaces.
> @@ -393,4 +421,4 @@ UEFI tests:
>    Test UEFI RT service set variable interface stress test.
>    Test UEFI RT service query variable info interface stress test.
>
> -Total of 310 tests
> +Total of 336 tests
> --
> 1.9.1
>
>
Acked-by: Keng-Yu Lin <kengyu@canonical.com>
diff mbox

Patch

diff --git a/fwts-test/arg-show-tests-0001/arg-show-tests-0001.log b/fwts-test/arg-show-tests-0001/arg-show-tests-0001.log
index 1cd28db..1b45a6c 100644
--- a/fwts-test/arg-show-tests-0001/arg-show-tests-0001.log
+++ b/fwts-test/arg-show-tests-0001/arg-show-tests-0001.log
@@ -71,6 +71,7 @@  Utilities:
  uefivarinfo     UEFI variable info query.
 
 Unsafe tests:
+ uefirtauthvar   Authenticated variable tests.
  uefirtmisc      UEFI miscellaneous runtime service interface tests.
  uefirttime      UEFI Runtime service time interface tests.
  uefirtvariable  UEFI Runtime service variable interface tests.
@@ -79,6 +80,7 @@  UEFI tests:
  csm             UEFI Compatibility Support Module test.
  securebootcert  UEFI secure boot test.
  uefibootpath    Sanity check for UEFI Boot Path Boot####.
+ uefirtauthvar   Authenticated variable tests.
  uefirtmisc      UEFI miscellaneous runtime service interface tests.
  uefirttime      UEFI Runtime service time interface tests.
  uefirtvariable  UEFI Runtime service variable interface tests.
diff --git a/fwts-test/arg-show-tests-full-0001/arg-show-tests-full-0001.log b/fwts-test/arg-show-tests-full-0001/arg-show-tests-full-0001.log
index ca02bff..9acb0f5 100644
--- a/fwts-test/arg-show-tests-full-0001/arg-show-tests-full-0001.log
+++ b/fwts-test/arg-show-tests-full-0001/arg-show-tests-full-0001.log
@@ -352,6 +352,20 @@  Utilities:
   UEFI variable info query.
 
 Unsafe tests:
+ uefirtauthvar   (13 tests):
+  Create authenticated variable test.
+  Authenticated variable test with the same authenticated variable.
+  Authenticated variable test with another valid authenticated variable.
+  Append authenticated variable test.
+  Update authenticated variable test.
+  Authenticated variable test with old authenticated variable.
+  Delete authenticated variable test.
+  Authenticated variable test with invalid modified data.
+  Authenticated variable test with invalid modified timestamp.
+  Authenticated variable test with different guid.
+  Authenticated variable test with invalid attributes.
+  Test with both authenticated attributes are set.
+  Set and delete authenticated variable created by different key test.
  uefirtmisc      (2 tests):
   Test for UEFI miscellaneous runtime service interfaces.
   Stress test for UEFI miscellaneous runtime service interfaces.
@@ -376,6 +390,20 @@  UEFI tests:
   UEFI secure boot test.
  uefibootpath    (1 test):
   Test UEFI Boot Path Boot####.
+ uefirtauthvar   (13 tests):
+  Create authenticated variable test.
+  Authenticated variable test with the same authenticated variable.
+  Authenticated variable test with another valid authenticated variable.
+  Append authenticated variable test.
+  Update authenticated variable test.
+  Authenticated variable test with old authenticated variable.
+  Delete authenticated variable test.
+  Authenticated variable test with invalid modified data.
+  Authenticated variable test with invalid modified timestamp.
+  Authenticated variable test with different guid.
+  Authenticated variable test with invalid attributes.
+  Test with both authenticated attributes are set.
+  Set and delete authenticated variable created by different key test.
  uefirtmisc      (2 tests):
   Test for UEFI miscellaneous runtime service interfaces.
   Stress test for UEFI miscellaneous runtime service interfaces.
@@ -393,4 +421,4 @@  UEFI tests:
   Test UEFI RT service set variable interface stress test.
   Test UEFI RT service query variable info interface stress test.
 
-Total of 310 tests
+Total of 336 tests