Skip to content

Error while using *_test.go -> Signature Testing #4759

Open
@sankyhack

Description

@sankyhack

Error while running Signature tests.

I am working with tracee signature tests, when I execute I am getting errors.
Are there any tutorial available on testing Tracee signatures.

Here are couple of signatures i tried, but getting error when ran.
I am using go version go1.24.3 linux/amd64
Downloaded latest tracee and running code from below dir
Downloads/tracee-main/signatures/golang

#/usr/local/go/bin/go test ./dropped_executable_test.go

command-line-arguments [command-line-arguments.test]

./dropped_executable_test.go:136:11: undefined: DroppedExecutable
FAIL command-line-arguments [build failed]
FAIL

#/usr/local/go/bin/go test ./hidden_file_created_test.go .hid.go

command-line-arguments [command-line-arguments.test]

./hidden_file_created_test.go:134:11: undefined: HiddenFileCreated
FAIL command-line-arguments [build failed]
FAIL

Output of tracee version:

Tracee version: v0.23.1

Output of uname -a:

Linux ubuntu2 6.8.0-59-generic #61~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:03:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Thanks and Regards,
Sanky

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions