[DTrace-devel] [PATCH] test: adjust err.unloaded_var.x to match test
Eugene Loh
eugene.loh at oracle.com
Thu Aug 1 17:39:03 UTC 2024
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>
On 8/1/24 13:04, Kris Van Hees via DTrace-devel wrote:
> Commit d9158b26 ("test: adjust err.unloaded_var.d again.") adjusted the
> test but failed to adjust the matching .x file. Along with changing
> the kernel module name (and location), we can also drop the testing for
> the CTF archive since it is not necessary. In addition, we allow for
> either gfs2.ko or gfs2.ko.xz to handle compressed kernel modules.
>
> Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
> ---
> test/unittest/types/err.unloaded_var.x | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/test/unittest/types/err.unloaded_var.x b/test/unittest/types/err.unloaded_var.x
> index e8ad2e76..54c61d57 100755
> --- a/test/unittest/types/err.unloaded_var.x
> +++ b/test/unittest/types/err.unloaded_var.x
> @@ -2,7 +2,7 @@
> # Licensed under the Universal Permissive License v 1.0 as shown at
> # http://oss.oracle.com/licenses/upl.
> #
> -# XFAIL if hysdn.ko not found (exit 1)
> -[[ ! -e /lib/modules/$(uname -r)/kernel/drivers/isdn/hysdn/hysdn.ko ]] &&
> -[[ ! -e /lib/modules/$(uname -r)/kernel/vmlinux.ctfa ]] && exit 1;
> +# XFAIL if gfs2.ko not found (exit 1)
> +[[ ! -e /lib/modules/$(uname -r)/kernel/fs/gfs2/gfs2.ko ]] &&
> +[[ ! -e /lib/modules/$(uname -r)/kernel/fs/gfs2/gfs2.ko.xz ]] && exit 1;
> exit 0
More information about the DTrace-devel
mailing list