[3/3] test24-soname-suppr*txt: Fix suppression syntax.

Message ID 20200420164153.5213-3-gprocida@google.com
State Superseded
Headers
Series [1/3] test-diff-suppr: Improve regexes in tests. |

Commit Message

Giuliano Procida April 20, 2020, 4:41 p.m. UTC
  The property name "reached_through" should have been
"accessed_through".

	* tests/data/test-diff-suppr/test24-soname-suppr-0.txt: Fix
	typo, change "reached_through" to "accessed_through".
	* tests/data/test-diff-suppr/test24-soname-suppr-1.txt: Ditto.
	* tests/data/test-diff-suppr/test24-soname-suppr-2.txt: Ditto.
	* tests/data/test-diff-suppr/test24-soname-suppr-3.txt: Ditto.
	* tests/data/test-diff-suppr/test24-soname-suppr-4.txt: Ditto.

Signed-off-by: Giuliano Procida <gprocida@google.com>
---
 tests/data/test-diff-suppr/test24-soname-suppr-0.txt | 2 +-
 tests/data/test-diff-suppr/test24-soname-suppr-1.txt | 2 +-
 tests/data/test-diff-suppr/test24-soname-suppr-2.txt | 2 +-
 tests/data/test-diff-suppr/test24-soname-suppr-3.txt | 2 +-
 tests/data/test-diff-suppr/test24-soname-suppr-4.txt | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
  

Comments

Giuliano Procida April 20, 2020, 5:20 p.m. UTC | #1
v2 of this on the way - more typos found

On Mon, 20 Apr 2020 at 17:42, Giuliano Procida <gprocida@google.com> wrote:
>
> The property name "reached_through" should have been
> "accessed_through".
>
>         * tests/data/test-diff-suppr/test24-soname-suppr-0.txt: Fix
>         typo, change "reached_through" to "accessed_through".
>         * tests/data/test-diff-suppr/test24-soname-suppr-1.txt: Ditto.
>         * tests/data/test-diff-suppr/test24-soname-suppr-2.txt: Ditto.
>         * tests/data/test-diff-suppr/test24-soname-suppr-3.txt: Ditto.
>         * tests/data/test-diff-suppr/test24-soname-suppr-4.txt: Ditto.
>
> Signed-off-by: Giuliano Procida <gprocida@google.com>
> ---
>  tests/data/test-diff-suppr/test24-soname-suppr-0.txt | 2 +-
>  tests/data/test-diff-suppr/test24-soname-suppr-1.txt | 2 +-
>  tests/data/test-diff-suppr/test24-soname-suppr-2.txt | 2 +-
>  tests/data/test-diff-suppr/test24-soname-suppr-3.txt | 2 +-
>  tests/data/test-diff-suppr/test24-soname-suppr-4.txt | 2 +-
>  5 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/tests/data/test-diff-suppr/test24-soname-suppr-0.txt b/tests/data/test-diff-suppr/test24-soname-suppr-0.txt
> index 2fb72ef3..19125bc7 100644
> --- a/tests/data/test-diff-suppr/test24-soname-suppr-0.txt
> +++ b/tests/data/test-diff-suppr/test24-soname-suppr-0.txt
> @@ -2,4 +2,4 @@
>    soname_regexp = ^libtest24-soname$
>    name = S
>    type_kind = struct
> -  reached_through = reference_or_pointer
> +  accessed_through = reference_or_pointer
> diff --git a/tests/data/test-diff-suppr/test24-soname-suppr-1.txt b/tests/data/test-diff-suppr/test24-soname-suppr-1.txt
> index 34ec72c0..a59000a5 100644
> --- a/tests/data/test-diff-suppr/test24-soname-suppr-1.txt
> +++ b/tests/data/test-diff-suppr/test24-soname-suppr-1.txt
> @@ -1,4 +1,4 @@
>  [suppress_type]
>    soname_regexp = ^libtest24-soname-<wrong-soname>$
>    name = S
> -  reached_through = reference_or_pointer
> +  accessed_through = reference_or_pointer
> diff --git a/tests/data/test-diff-suppr/test24-soname-suppr-2.txt b/tests/data/test-diff-suppr/test24-soname-suppr-2.txt
> index 65b50fbb..2c4b1fc9 100644
> --- a/tests/data/test-diff-suppr/test24-soname-suppr-2.txt
> +++ b/tests/data/test-diff-suppr/test24-soname-suppr-2.txt
> @@ -1,4 +1,4 @@
>  [suppress_type]
>    file_name_regexp = (^|/)libtest24-soname-v0\\.so$
>    name = S
> -  reached_through = reference_or_pointer
> +  accessed_through = reference_or_pointer
> diff --git a/tests/data/test-diff-suppr/test24-soname-suppr-3.txt b/tests/data/test-diff-suppr/test24-soname-suppr-3.txt
> index f72fd141..e1c299ac 100644
> --- a/tests/data/test-diff-suppr/test24-soname-suppr-3.txt
> +++ b/tests/data/test-diff-suppr/test24-soname-suppr-3.txt
> @@ -1,4 +1,4 @@
>  [suppress_type]
>    file_name_regexp = (^|/)libtest24-soname-v1\\.so$
>    name = S
> -  reached_through = reference_or_pointer
> +  accessed_through = reference_or_pointer
> diff --git a/tests/data/test-diff-suppr/test24-soname-suppr-4.txt b/tests/data/test-diff-suppr/test24-soname-suppr-4.txt
> index 29a0b6ec..01cd9f0b 100644
> --- a/tests/data/test-diff-suppr/test24-soname-suppr-4.txt
> +++ b/tests/data/test-diff-suppr/test24-soname-suppr-4.txt
> @@ -1,4 +1,4 @@
>  [suppress_type]
>    file_name_regexp = (^|/)libtest24-soname-<wrong-file-name>\\.so$
>    name = S
> -  reached_through = reference_or_pointer
> +  accessed_through = reference_or_pointer
> --
> 2.26.1.301.g55bc3eb7cb9-goog
>
  

Patch

diff --git a/tests/data/test-diff-suppr/test24-soname-suppr-0.txt b/tests/data/test-diff-suppr/test24-soname-suppr-0.txt
index 2fb72ef3..19125bc7 100644
--- a/tests/data/test-diff-suppr/test24-soname-suppr-0.txt
+++ b/tests/data/test-diff-suppr/test24-soname-suppr-0.txt
@@ -2,4 +2,4 @@ 
   soname_regexp = ^libtest24-soname$
   name = S
   type_kind = struct
-  reached_through = reference_or_pointer
+  accessed_through = reference_or_pointer
diff --git a/tests/data/test-diff-suppr/test24-soname-suppr-1.txt b/tests/data/test-diff-suppr/test24-soname-suppr-1.txt
index 34ec72c0..a59000a5 100644
--- a/tests/data/test-diff-suppr/test24-soname-suppr-1.txt
+++ b/tests/data/test-diff-suppr/test24-soname-suppr-1.txt
@@ -1,4 +1,4 @@ 
 [suppress_type]
   soname_regexp = ^libtest24-soname-<wrong-soname>$
   name = S
-  reached_through = reference_or_pointer
+  accessed_through = reference_or_pointer
diff --git a/tests/data/test-diff-suppr/test24-soname-suppr-2.txt b/tests/data/test-diff-suppr/test24-soname-suppr-2.txt
index 65b50fbb..2c4b1fc9 100644
--- a/tests/data/test-diff-suppr/test24-soname-suppr-2.txt
+++ b/tests/data/test-diff-suppr/test24-soname-suppr-2.txt
@@ -1,4 +1,4 @@ 
 [suppress_type]
   file_name_regexp = (^|/)libtest24-soname-v0\\.so$
   name = S
-  reached_through = reference_or_pointer
+  accessed_through = reference_or_pointer
diff --git a/tests/data/test-diff-suppr/test24-soname-suppr-3.txt b/tests/data/test-diff-suppr/test24-soname-suppr-3.txt
index f72fd141..e1c299ac 100644
--- a/tests/data/test-diff-suppr/test24-soname-suppr-3.txt
+++ b/tests/data/test-diff-suppr/test24-soname-suppr-3.txt
@@ -1,4 +1,4 @@ 
 [suppress_type]
   file_name_regexp = (^|/)libtest24-soname-v1\\.so$
   name = S
-  reached_through = reference_or_pointer
+  accessed_through = reference_or_pointer
diff --git a/tests/data/test-diff-suppr/test24-soname-suppr-4.txt b/tests/data/test-diff-suppr/test24-soname-suppr-4.txt
index 29a0b6ec..01cd9f0b 100644
--- a/tests/data/test-diff-suppr/test24-soname-suppr-4.txt
+++ b/tests/data/test-diff-suppr/test24-soname-suppr-4.txt
@@ -1,4 +1,4 @@ 
 [suppress_type]
   file_name_regexp = (^|/)libtest24-soname-<wrong-file-name>\\.so$
   name = S
-  reached_through = reference_or_pointer
+  accessed_through = reference_or_pointer