Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Should give .sys file if the fullpath is specified with hidden and force parameter in VSTS #7554

Closed
TravisEz13 opened this issue Aug 17, 2018 · 6 comments
Labels
Resolution-No Activity Issue has had no activity for 6 months or more WG-Quality-Test issues in a test or in test infrastructure

Comments

@TravisEz13
Copy link
Member

fix Should give .sys file if the fullpath is specified with hidden and force parameter in VSTS

the page file does not exist on the system drive

https://github.com/PowerShell/PowerShell/pull/7536/files#diff-21791ab5c432a45ecdb2f68e053984f4

@TravisEz13 TravisEz13 mentioned this issue Aug 17, 2018
11 tasks
@iSazonov iSazonov added the WG-Quality-Test issues in a test or in test infrastructure label Aug 17, 2018
@TravisEz13
Copy link
Member Author

Per @iSazonov
We could find the page file location:

			#Open the registry on multiple remote computers
			$reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey('LocalMachine',$server )
			$RegKeyPath= "SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management"
			$pageFileKey=$reg.OpenSubKey($RegKeyPath)
			$pageFileLocation=$pageFileKey.GetValue("ExistingPageFiles")

@TravisEz13
Copy link
Member Author

Be aware the above returns \??\D:\pagefile.sys in VSTS

TravisEz13 added a commit that referenced this issue Aug 18, 2018
- Add VSTS CI for Windows
    - Disable `Access-denied test for Get-Item C:\windows\appcompat\Programs\Install -ErrorAction Stop`, because the path does not always exist
        - #7553
    - Disable `Should give .sys file if the fullpath is specified with hidden and force parameter`, because pagefile.sys doesn't always exist and other files don't meet test's requirement.
        - #7554
    - Disable some `Test-Connection` tests for same reasons they failed on VSTS Linux
        - #7555
    - Disable `Test-FileCatalog should pass when catalog is in the same folder as files being tested`, because the CmdLet does not work in that scenario
         - Also, give details needed to investigate when the test fails
         - #7556
    - Update `appveyor.psm1` to work with VSTS
    - Update `HelpersRemoting.psm1` `New-RemoteSession` to work for CimSession (discovered an issue during the investigation)
    - Update `Test wildcard with drive relative directory path` to work when there are multiple drives
         - Disable on non-windows machines since the test is assuming drive letters
    - Update `New-CimSession` Tests to requireAdmin
         - Also, make sure session name is a string
    - Add functions to save and restore psoptions
    - update `.gitatttributes` so files clone like they do on appveyor
Copy link
Contributor

This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.

2 similar comments
Copy link
Contributor

This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.

Copy link
Contributor

This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.

@microsoft-github-policy-service microsoft-github-policy-service bot added Resolution-No Activity Issue has had no activity for 6 months or more labels Nov 16, 2023
Copy link
Contributor

This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-No Activity Issue has had no activity for 6 months or more WG-Quality-Test issues in a test or in test infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants