Commit graph

829 commits

Author SHA1 Message Date
twangboy
c2bb925bc6 Fix checking retcodes with runas on Windows 2025-03-06 13:45:16 -07:00
twangboy
b128203e9c Pass lastexitcode through to retcode 2025-03-06 13:45:16 -07:00
twangboy
8663f32962 Fix hanging test 2025-03-06 13:45:16 -07:00
twangboy
0d47d91006 Add some troubleshooting code 2025-03-06 13:45:16 -07:00
twangboy
ab9e02a1a9 Fix hanging test 2025-03-06 13:45:16 -07:00
twangboy
4524d8a54a Add some troubleshooting code 2025-03-06 13:45:16 -07:00
twangboy
af906c795e use whoami in the tests 2025-03-06 13:45:16 -07:00
twangboy
aeecd6b7b2 Use cmd /c with runas on Windows to allow compound commands 2025-03-06 13:45:16 -07:00
Twangboy
680f27f9b8 Fix stacktrace with unmapped account names 2025-02-28 02:47:47 -07:00
David Murphy
a7f38d9473 Correct dictionary format returned in test 2025-02-10 15:26:36 -07:00
David Murphy
06d813285d Add test support for slash embedded in git branch name when using pillar 2025-02-10 15:26:36 -07:00
David Murphy
ccdc5bb138 Removed debugging statements 2025-02-10 15:26:36 -07:00
David Murphy
5779722440 Fixed debugging test 2025-02-10 15:26:36 -07:00
David Murphy
c346ebaad4 Fix modified debug test 2025-02-10 15:26:36 -07:00
David Murphy
d0231f33ee Added debugging outputs 2025-02-10 15:26:36 -07:00
Twangboy
a5594e7bd2 Use Sudo instead of Everything 2025-01-28 15:57:08 -07:00
Twangboy
ca81605ce6 Skip the test in 1.2.1 as well 2025-01-28 15:57:08 -07:00
Twangboy
7587e8bcf2 Revert "Disable chocolatey 1.2.1 tests"
This reverts commit 2a384ec9e7.
2025-01-28 15:57:08 -07:00
Twangboy
739b94bd68 Skip test that's timing out 2025-01-28 15:57:08 -07:00
Twangboy
60a9edf235 Final fix for test_script failures 2025-01-27 14:51:37 -07:00
Twangboy
3f686c2e89 Clear the environment in the test 2025-01-27 14:51:37 -07:00
Twangboy
630f979214 Display Windows Environment Variables 2025-01-27 14:51:37 -07:00
Twangboy
46ce2f9e2d Show powershell version 2025-01-27 14:51:37 -07:00
Twangboy
02e110abc7 Use actual shell in test 2025-01-27 14:51:37 -07:00
Twangboy
2b288fa007 Use different version for the everything package 2025-01-23 20:39:04 -07:00
Twangboy
2a384ec9e7 Disable chocolatey 1.2.1 tests 2025-01-23 20:39:04 -07:00
Daniel A. Wozniak
deda5dc15e Skip tests when it will fail due to hostnamctl not working in some containers 2025-01-23 16:36:35 -07:00
Barney Sowood
b6a92f693d Modify tests to use user temp directory
Modifies the win_dacl tests to use the user temp directory as using
any other directories breaks the expected matching perms
2025-01-22 12:57:32 -07:00
Twangboy
786db9bbbb Remove ownership check as ownership is not inherited 2025-01-16 14:47:18 -07:00
twangboy
f22c6cabc0 Try setting PSModulePath in cmd.script 2025-01-15 16:15:41 -07:00
twangboy
a633493f4c Fix pre-commit 2025-01-15 16:15:41 -07:00
twangboy
4eca31c2f1 Clear PSModulePath environment variable 2025-01-15 16:15:41 -07:00
Twangboy
a98b9cb138 Check for failed ping on Windows 2025-01-15 15:59:21 -07:00
Twangboy
169f0fda2f Change expected output for Windows 2025-01-15 15:05:51 -07:00
Twangboy
93acf2ee36 Fix pre-commit 2025-01-15 14:34:00 -07:00
Twangboy
5ff2c7e2a2 User temp_account instead of Administrator for testing 2025-01-15 14:34:00 -07:00
Twangboy
4e03997e27 Test with temp user instead of Administrators 2025-01-15 14:33:43 -07:00
Barney Sowood
19b0db156f Make systemctl/hostctl check functions check they're on linux 2025-01-12 22:35:40 -07:00
Daniel A. Wozniak
ee33df82eb Multiple test fixes 2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
6f7b448591 Fix pkg tests on debian containers 2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
8909607ab9 Fix tests on amazonlinux-2 container 2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
c7220f13b9 Fix pkg test when no souces.list exists 2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
05f9bcae18 Skip tests when hostnamectl does not work 2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
90d5bd27a8 Allow test to pass when ping is blocked 2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
2571387f27 Attempt to fix ping tests 2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
b368da74f0 Fix pkg tests on photon 2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
c4fe0391c4 Fix is_bin_file filter test on debian 2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
9bb624db5a Fix pre-commit 2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
1fb68df156 Split then join with spaces 2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
99b1b92306 Use file isntead of ls since ls is sometimes a script 2025-01-11 15:25:01 -07:00