You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test_uninstall.ps1 doesn't uninstall any packages. Moreover, although the documentation indicates the possibility of uninstalling a specific package, the current script don't handle it.
I added the following parameters at the top of the file to remove package individually:
I know this is closed, but I believe I ran into this issue when I was using test_uninstall.ps1 before, because a random folder named False was being created inside built_pkgs unintentionally somehow and when running this script, it would automatically fail and not uninstall my package.
What's the problem?
test_uninstall.ps1
doesn't uninstall any packages. Moreover, although the documentation indicates the possibility of uninstalling a specific package, the current script don't handle it.I added the following parameters at the top of the file to remove package individually:
Then, I changed
$built_pkgs =...
to$built_pkgs = $package_names
. However, this isn't an optimal solution.Steps to Reproduce
Run
scripts/test/test_uninstall.ps1
with or without<package.vm>
args.Environment
VM OS version and Service Pack
Version : 10.0.22621
BuildNumber : 22621
OSArchitecture : 64-bit
ServicePackMajorVersion : 0
Caption : Microsoft Windows 11 Enterprise Evaluation
VM AV Details
AntiVirusProduct classname does not exist...
VM PowerShell Version
5.1.22621.1778
VM CLR Version
4.0.30319.42000
VM Chocolatey Version
2.2.2
VM Boxstarter Version
Boxstarter|3.0.3
Boxstarter.Bootstrapper|3.0.3
Boxstarter.Chocolatey|3.0.3
Boxstarter.Common|3.0.3
Boxstarter.HyperV|3.0.3
Boxstarter.WinConfig|3.0.3
Additional Information
No response
Detected by test suite
No
The text was updated successfully, but these errors were encountered: