From d6ab88f28faf6de45d2c7d928fa1e63ad15609c3 Mon Sep 17 00:00:00 2001 From: Piotrek Zadroga Date: Mon, 16 Jun 2025 21:11:26 +0200 Subject: [PATCH] [#3940] rename test file --- src/bin/shell/tests/ca_basic_auth_tests.sh.in | 4 ++-- src/bin/shell/tests/d2_basic_auth_tests.sh.in | 4 ++-- src/bin/shell/tests/dhcp4_basic_auth_tests.sh.in | 4 ++-- src/bin/shell/tests/dhcp6_basic_auth_tests.sh.in | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/bin/shell/tests/ca_basic_auth_tests.sh.in b/src/bin/shell/tests/ca_basic_auth_tests.sh.in index cc8245aa75..ce3da5798c 100755 --- a/src/bin/shell/tests/ca_basic_auth_tests.sh.in +++ b/src/bin/shell/tests/ca_basic_auth_tests.sh.in @@ -199,8 +199,8 @@ shell_command_test "shell.authorized" \ "--auth-user pet --auth-password meow" "list-commands" "" \ "[ { \"arguments\": [ \"build-report\", \"config-get\", \"config-hash-get\", \"config-reload\", \"config-set\", \"config-test\", \"config-write\", \"list-commands\", \"shutdown\", \"status-get\", \"version-get\" ], \"result\": 0 } ]" shell_command_test "shell.bad-auth-password-file" \ - "--auth-user foo --auth-password-file test" "list-commands" "fail" \ - "Failed to run: [Errno 2] No such file or directory: 'test'" + "--auth-user foo --auth-password-file foobar" "list-commands" "fail" \ + "Failed to run: [Errno 2] No such file or directory: 'foobar'" shell_command_test "shell.bad-auth-password-file-content" \ "--auth-user foo --auth-password-file ${tmpfile_path}/auth_bad_password_file" "list-commands" "fail" \ "Failed to run: HTTP Error 401: Unauthorized" diff --git a/src/bin/shell/tests/d2_basic_auth_tests.sh.in b/src/bin/shell/tests/d2_basic_auth_tests.sh.in index 0702626a39..dd7ff4edff 100755 --- a/src/bin/shell/tests/d2_basic_auth_tests.sh.in +++ b/src/bin/shell/tests/d2_basic_auth_tests.sh.in @@ -204,8 +204,8 @@ shell_command_test "shell.authorized" \ "--auth-user pet --auth-password meow" "list-commands" "" \ "[ { \"arguments\": [ \"build-report\", \"config-get\", \"config-hash-get\", \"config-reload\", \"config-set\", \"config-test\", \"config-write\", \"list-commands\", \"shutdown\", \"statistic-get\", \"statistic-get-all\", \"statistic-reset\", \"statistic-reset-all\", \"status-get\", \"version-get\" ], \"result\": 0 } ]" shell_command_test "shell.bad-auth-password-file" \ - "--auth-user foo --auth-password-file test" "list-commands" "fail" \ - "Failed to run: [Errno 2] No such file or directory: 'test'" + "--auth-user foo --auth-password-file foobar" "list-commands" "fail" \ + "Failed to run: [Errno 2] No such file or directory: 'foobar'" shell_command_test "shell.bad-auth-password-file-content" \ "--auth-user foo --auth-password-file ${tmpfile_path}/auth_bad_password_file" "list-commands" "fail" \ "Failed to run: HTTP Error 401: Unauthorized" diff --git a/src/bin/shell/tests/dhcp4_basic_auth_tests.sh.in b/src/bin/shell/tests/dhcp4_basic_auth_tests.sh.in index d11721d5b3..087338fe10 100755 --- a/src/bin/shell/tests/dhcp4_basic_auth_tests.sh.in +++ b/src/bin/shell/tests/dhcp4_basic_auth_tests.sh.in @@ -231,8 +231,8 @@ shell_command_test "shell.authorized" \ "--auth-user pet --auth-password meow" "list-commands" "" \ "[ { \"arguments\": [ \"build-report\", \"config-backend-pull\", \"config-get\", \"config-hash-get\", \"config-reload\", \"config-set\", \"config-test\", \"config-write\", \"dhcp-disable\", \"dhcp-enable\", \"leases-reclaim\", \"list-commands\", \"server-tag-get\", \"shutdown\", \"statistic-get\", \"statistic-get-all\", \"statistic-remove\", \"statistic-remove-all\", \"statistic-reset\", \"statistic-reset-all\", \"statistic-sample-age-set\", \"statistic-sample-age-set-all\", \"statistic-sample-count-set\", \"statistic-sample-count-set-all\", \"status-get\", \"subnet4-select-test\", \"subnet4o6-select-test\", \"version-get\" ], \"result\": 0 } ]" shell_command_test "shell.bad-auth-password-file" \ - "--auth-user foo --auth-password-file test" "list-commands" "fail" \ - "Failed to run: [Errno 2] No such file or directory: 'test'" + "--auth-user foo --auth-password-file foobar" "list-commands" "fail" \ + "Failed to run: [Errno 2] No such file or directory: 'foobar'" shell_command_test "shell.bad-auth-password-file-content" \ "--auth-user foo --auth-password-file ${tmpfile_path}/auth_bad_password_file" "list-commands" "fail" \ "Failed to run: HTTP Error 401: Unauthorized" diff --git a/src/bin/shell/tests/dhcp6_basic_auth_tests.sh.in b/src/bin/shell/tests/dhcp6_basic_auth_tests.sh.in index 9fea36dd8f..906d583292 100755 --- a/src/bin/shell/tests/dhcp6_basic_auth_tests.sh.in +++ b/src/bin/shell/tests/dhcp6_basic_auth_tests.sh.in @@ -236,8 +236,8 @@ shell_command_test "shell.authorized" \ "--auth-user pet --auth-password meow" "list-commands" "" \ "[ { \"arguments\": [ \"build-report\", \"config-backend-pull\", \"config-get\", \"config-hash-get\", \"config-reload\", \"config-set\", \"config-test\", \"config-write\", \"dhcp-disable\", \"dhcp-enable\", \"leases-reclaim\", \"list-commands\", \"server-tag-get\", \"shutdown\", \"statistic-get\", \"statistic-get-all\", \"statistic-remove\", \"statistic-remove-all\", \"statistic-reset\", \"statistic-reset-all\", \"statistic-sample-age-set\", \"statistic-sample-age-set-all\", \"statistic-sample-count-set\", \"statistic-sample-count-set-all\", \"status-get\", \"subnet6-select-test\", \"version-get\" ], \"result\": 0 } ]" shell_command_test "shell.bad-auth-password-file" \ - "--auth-user foo --auth-password-file test" "list-commands" "fail" \ - "Failed to run: [Errno 2] No such file or directory: 'test'" + "--auth-user foo --auth-password-file foobar" "list-commands" "fail" \ + "Failed to run: [Errno 2] No such file or directory: 'foobar'" shell_command_test "shell.bad-auth-password-file-content" \ "--auth-user foo --auth-password-file ${tmpfile_path}/auth_bad_password_file" "list-commands" "fail" \ "Failed to run: HTTP Error 401: Unauthorized" -- 2.47.2