Skip to content

Commit

Permalink
copy artifact outside
Browse files Browse the repository at this point in the history
Signed-off-by: Alessio Greggi <ale_grey_91@hotmail.it>
  • Loading branch information
alegrey91 committed Sep 7, 2024
1 parent 905b5b8 commit 2633bc2
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 13 deletions.
2 changes: 0 additions & 2 deletions tests/create_trace.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ exec_cmd fwdctl create -d 3003 -p 80
exec_cmd fwdctl create -s 127.0.0.1 -p 80
exec_cmd fwdctl create -i lo -P tcp

cp ./integration-test-syscalls/* /home/runner/work/fwdctl/fwdctl/integration-test-syscalls

-- fwdctl_list.json --
{
"02277b77be4aec43a6e91433e2fc1fb0": {
Expand Down
2 changes: 0 additions & 2 deletions tests/daemon_trace.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ exec sleep 5
exec fwdctl list -o json
exec fwdctl daemon stop

cp ./integration-test-syscalls/* /home/runner/work/fwdctl/fwdctl/integration-test-syscalls

-- rules.yml --
rules:
- dport: 3000
Expand Down
2 changes: 0 additions & 2 deletions tests/delete_trace.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ exec_cmd fwdctl delete

exec_cmd fwdctl delete -f file_doesnt_exists.yml

cp ./integration-test-syscalls/* /home/runner/work/fwdctl/fwdctl/integration-test-syscalls

-- rules.yml --
rules:
- dport: 3000
Expand Down
2 changes: 0 additions & 2 deletions tests/generate_trace.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ cmp /tmp/fwdctl.service fwdctl-fork.service
# test with options '--type null' (does not exist)
exec_cmd fwdctl generate systemd --file /tmp/rules.yml --installation-path /usr/local/bin --type null -O /tmp/

cp ./integration-test-syscalls/* /home/runner/work/fwdctl/fwdctl/integration-test-syscalls

-- rules.yml --
rules:
- dport:
Expand Down
2 changes: 0 additions & 2 deletions tests/list_trace.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ cmp stdout list-yaml.txt
# check alias works
exec_cmd fwdctl ls

cp ./integration-test-syscalls/* /home/runner/work/fwdctl/fwdctl/integration-test-syscalls

-- list-table.txt --
+--------+-----------+----------+---------------+-------------+---------------+
| NUMBER | INTERFACE | PROTOCOL | EXTERNAL PORT | INTERNAL IP | INTERNAL PORT |
Expand Down
4 changes: 1 addition & 3 deletions tests/version_trace.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ stdout 'dev'

# use an invalid argument
exec_cmd fwdctl version -x
stdout 'unknown shorthand flag:'

cp ./integration-test-syscalls/* /home/runner/work/fwdctl/fwdctl/integration-test-syscalls
stdout 'unknown shorthand flag:'

0 comments on commit 2633bc2

Please sign in to comment.