Update golden names to fork on OS

This commit is contained in:
David Dworken 2024-06-02 19:36:02 -07:00
parent f1993cf1d2
commit 56d1401966
No known key found for this signature in database
4 changed files with 51 additions and 24 deletions

View File

@ -3196,7 +3196,7 @@ func TestInstallSkipConfigModification(t *testing.T) {
// Install and check that it gave info on how to configure the shell
out := tester.RunInteractiveShell(t, ` /tmp/client install --skip-config-modification | grep -v "secret hishtory key"`)
testutils.CompareGoldens(t, out, "TestInstallSkipConfigModification-InstallOutput")
testutils.CompareGoldens(t, out, "TestInstallSkipConfigModification-InstallOutput-"+runtime.GOOS)
// Check that the shell config files weren't configured
homedir, err := os.UserHomeDir()

View File

@ -1,23 +0,0 @@
Please edit "~/.bashrc" to add:
```
# Hishtory Config:
export PATH="$PATH:/Users/david/.hishtory"
source /Users/david/.hishtory/config.sh
```
Please edit "~/.zshrc" to add:
```
# Hishtory Config:
export PATH="$PATH:/Users/david/.hishtory"
source /Users/david/.hishtory/config.zsh
```
Please edit "~/.config/fish/config.fish" to add:
```
# Hishtory Config:
export PATH="$PATH:/Users/david/.hishtory"
source /Users/david/.hishtory/config.fish
```

View File

@ -0,0 +1,25 @@
Please edit "~/.bashrc" to add:
```
# Hishtory Config:
export PATH="$PATH:/Users/runner/.hishtory"
source /Users/runner/.hishtory/config.sh
```
Please edit "~/.bash_profile" to add:
```
# Hishtory Config:
export PATH="$PATH:/Users/runner/.hishtory"
source /Users/runner/.hishtory/config.sh
```
Please edit "~/.zshrc" to add:
```
# Hishtory Config:
export PATH="$PATH:/Users/runner/.hishtory"
source /Users/runner/.hishtory/config.zsh
```

View File

@ -0,0 +1,25 @@
Please edit "~/.bashrc" to add:
```
# Hishtory Config:
export PATH="$PATH:/home/runner/.hishtory"
source /home/runner/.hishtory/config.sh
```
Please edit "~/.bash_profile" to add:
```
# Hishtory Config:
export PATH="$PATH:/home/runner/.hishtory"
source /home/runner/.hishtory/config.sh
```
Please edit "~/.zshrc" to add:
```
# Hishtory Config:
export PATH="$PATH:/home/runner/.hishtory"
source /home/runner/.hishtory/config.zsh
```