From 2633bc2930104588463cdf36f8e92ff325876796 Mon Sep 17 00:00:00 2001 From: Alessio Greggi Date: Sat, 7 Sep 2024 02:19:04 +0200 Subject: [PATCH] copy artifact outside Signed-off-by: Alessio Greggi --- tests/create_trace.txtar | 2 -- tests/daemon_trace.txtar | 2 -- tests/delete_trace.txtar | 2 -- tests/generate_trace.txtar | 2 -- tests/list_trace.txtar | 2 -- tests/version_trace.txtar | 4 +--- 6 files changed, 1 insertion(+), 13 deletions(-) diff --git a/tests/create_trace.txtar b/tests/create_trace.txtar index 4422669..f4c8128 100644 --- a/tests/create_trace.txtar +++ b/tests/create_trace.txtar @@ -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": { diff --git a/tests/daemon_trace.txtar b/tests/daemon_trace.txtar index 7275b1f..fddbfad 100644 --- a/tests/daemon_trace.txtar +++ b/tests/daemon_trace.txtar @@ -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 diff --git a/tests/delete_trace.txtar b/tests/delete_trace.txtar index a4524f4..5b3ea04 100644 --- a/tests/delete_trace.txtar +++ b/tests/delete_trace.txtar @@ -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 diff --git a/tests/generate_trace.txtar b/tests/generate_trace.txtar index 0dadcda..c9f81f2 100644 --- a/tests/generate_trace.txtar +++ b/tests/generate_trace.txtar @@ -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: diff --git a/tests/list_trace.txtar b/tests/list_trace.txtar index 3c93fdb..b9f7bb4 100644 --- a/tests/list_trace.txtar +++ b/tests/list_trace.txtar @@ -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 | diff --git a/tests/version_trace.txtar b/tests/version_trace.txtar index b073d52..1bcd623 100644 --- a/tests/version_trace.txtar +++ b/tests/version_trace.txtar @@ -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 \ No newline at end of file +stdout 'unknown shorthand flag:' \ No newline at end of file