installer
This commit is contained in:
7
rig/tests/hosts/debian-trixie/expect.txt
Normal file
7
rig/tests/hosts/debian-trixie/expect.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
# A plain native Debian with memory to spare and no swap.
|
||||
+ distro Debian GNU/Linux 13 (trixie)
|
||||
+ native linux
|
||||
+ memory 15861 MB total, 11264 MB available
|
||||
+ overcommit 0 heuristic
|
||||
- in swap
|
||||
- WSL
|
||||
4
rig/tests/hosts/debian-trixie/root/etc/os-release
Normal file
4
rig/tests/hosts/debian-trixie/root/etc/os-release
Normal file
@@ -0,0 +1,4 @@
|
||||
PRETTY_NAME="Debian GNU/Linux 13 (trixie)"
|
||||
NAME="Debian GNU/Linux"
|
||||
VERSION_ID="13"
|
||||
ID=debian
|
||||
4
rig/tests/hosts/debian-trixie/root/proc/meminfo
Normal file
4
rig/tests/hosts/debian-trixie/root/proc/meminfo
Normal file
@@ -0,0 +1,4 @@
|
||||
MemTotal: 16241664 kB
|
||||
MemAvailable: 11534336 kB
|
||||
SwapTotal: 0 kB
|
||||
SwapFree: 0 kB
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
1
rig/tests/hosts/debian-trixie/root/proc/version
Normal file
1
rig/tests/hosts/debian-trixie/root/proc/version
Normal file
@@ -0,0 +1 @@
|
||||
Linux version 6.12.48+deb13-amd64
|
||||
1
rig/tests/hosts/git-bash/env
Normal file
1
rig/tests/hosts/git-bash/env
Normal file
@@ -0,0 +1 @@
|
||||
UNAME_S=MINGW64_NT-10.0-19045
|
||||
5
rig/tests/hosts/git-bash/expect.txt
Normal file
5
rig/tests/hosts/git-bash/expect.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
# Git Bash on Windows: refused before anything runs, pointing at WSL.
|
||||
exit 1
|
||||
+ This has to run inside WSL, not Git Bash / MSYS / Cygwin.
|
||||
+ wsl --install
|
||||
- distro
|
||||
7
rig/tests/hosts/ubuntu-22.04/expect.txt
Normal file
7
rig/tests/hosts/ubuntu-22.04/expect.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
# A managed Ubuntu 22.04 machine: native, tight on memory, already swapping.
|
||||
+ distro Ubuntu 22.04.5 LTS
|
||||
+ native linux
|
||||
+ memory 7680 MB total, 1843 MB available, 4096 MB in swap
|
||||
+ overcommit 1 always
|
||||
- WSL
|
||||
- systemd not enabled
|
||||
5
rig/tests/hosts/ubuntu-22.04/root/etc/os-release
Normal file
5
rig/tests/hosts/ubuntu-22.04/root/etc/os-release
Normal file
@@ -0,0 +1,5 @@
|
||||
PRETTY_NAME="Ubuntu 22.04.5 LTS"
|
||||
NAME="Ubuntu"
|
||||
VERSION_ID="22.04"
|
||||
ID=ubuntu
|
||||
ID_LIKE=debian
|
||||
4
rig/tests/hosts/ubuntu-22.04/root/proc/meminfo
Normal file
4
rig/tests/hosts/ubuntu-22.04/root/proc/meminfo
Normal file
@@ -0,0 +1,4 @@
|
||||
MemTotal: 7864320 kB
|
||||
MemAvailable: 1887436 kB
|
||||
SwapTotal: 8388608 kB
|
||||
SwapFree: 4194304 kB
|
||||
@@ -0,0 +1 @@
|
||||
1
|
||||
1
rig/tests/hosts/ubuntu-22.04/root/proc/version
Normal file
1
rig/tests/hosts/ubuntu-22.04/root/proc/version
Normal file
@@ -0,0 +1 @@
|
||||
Linux version 6.8.0-1030-aws
|
||||
7
rig/tests/hosts/wsl-bare/expect.txt
Normal file
7
rig/tests/hosts/wsl-bare/expect.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
# Fresh WSL: systemd off, resolv.conf generated, no .wslconfig — all three said.
|
||||
+ Ubuntu 22.04.5 LTS amd64, WSL
|
||||
+ ! systemd not enabled in /etc/wsl.conf
|
||||
+ - resolv.conf is WSL-generated
|
||||
+ Enable systemd — add to /etc/wsl.conf:
|
||||
+ Cap/raise the WSL VM memory
|
||||
- native linux
|
||||
4
rig/tests/hosts/wsl-bare/root/etc/os-release
Normal file
4
rig/tests/hosts/wsl-bare/root/etc/os-release
Normal file
@@ -0,0 +1,4 @@
|
||||
PRETTY_NAME="Ubuntu 22.04.5 LTS"
|
||||
NAME="Ubuntu"
|
||||
VERSION_ID="22.04"
|
||||
ID=ubuntu
|
||||
4
rig/tests/hosts/wsl-bare/root/proc/meminfo
Normal file
4
rig/tests/hosts/wsl-bare/root/proc/meminfo
Normal file
@@ -0,0 +1,4 @@
|
||||
MemTotal: 8055020 kB
|
||||
MemAvailable: 7340032 kB
|
||||
SwapTotal: 2097152 kB
|
||||
SwapFree: 2097152 kB
|
||||
1
rig/tests/hosts/wsl-bare/root/proc/version
Normal file
1
rig/tests/hosts/wsl-bare/root/proc/version
Normal file
@@ -0,0 +1 @@
|
||||
Linux version 5.15.167.4-microsoft-standard-WSL2
|
||||
7
rig/tests/hosts/wsl-ready/expect.txt
Normal file
7
rig/tests/hosts/wsl-ready/expect.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
# WSL set up as BOOTSTRAP says: systemd on, resolv.conf pinned, VM memory set.
|
||||
+ amd64, WSL
|
||||
+ systemd enabled in wsl.conf
|
||||
+ resolv.conf pinned (generateResolvConf=false)
|
||||
+ wslconfig memory set: memory=12GB
|
||||
- systemd not enabled
|
||||
- Cap/raise the WSL VM memory
|
||||
4
rig/tests/hosts/wsl-ready/root/etc/os-release
Normal file
4
rig/tests/hosts/wsl-ready/root/etc/os-release
Normal file
@@ -0,0 +1,4 @@
|
||||
PRETTY_NAME="Ubuntu 22.04.5 LTS"
|
||||
NAME="Ubuntu"
|
||||
VERSION_ID="22.04"
|
||||
ID=ubuntu
|
||||
5
rig/tests/hosts/wsl-ready/root/etc/wsl.conf
Normal file
5
rig/tests/hosts/wsl-ready/root/etc/wsl.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
[boot]
|
||||
systemd=true
|
||||
|
||||
[network]
|
||||
generateResolvConf=false
|
||||
@@ -0,0 +1,2 @@
|
||||
[wsl2]
|
||||
memory=12GB
|
||||
4
rig/tests/hosts/wsl-ready/root/proc/meminfo
Normal file
4
rig/tests/hosts/wsl-ready/root/proc/meminfo
Normal file
@@ -0,0 +1,4 @@
|
||||
MemTotal: 8055020 kB
|
||||
MemAvailable: 7340032 kB
|
||||
SwapTotal: 2097152 kB
|
||||
SwapFree: 2097152 kB
|
||||
1
rig/tests/hosts/wsl-ready/root/proc/version
Normal file
1
rig/tests/hosts/wsl-ready/root/proc/version
Normal file
@@ -0,0 +1 @@
|
||||
Linux version 5.15.167.4-microsoft-standard-WSL2
|
||||
Reference in New Issue
Block a user