From Fedora Project Wiki
Description
This test case ensures that the default user has been created, and that it has been configured for sudo
How to test
- If you already have WSL running in Fedora,
exit - Run a new Fedora shell by running
wsl.exe -d Fedora(for WSL 2.4.4+), orwsl.exe -d Fedora -u <username(for WSL < 2.4.4) - Verify your username is what you configured with
id -u - Run
sudo su, thenid -uagain to confirm you can assume root - Install a text-based package such as
fastfetchwithsudo dnf install fastfetch, and run it - Install a Wayland-based app such as
footwithsudo dnf install foot, and run it. It should create a new window with a shell prompt. Run a few commands, thenexitor click the X in the window title to close it. - Install a X11-based app such as
firefoxwithsudo dnf install firefox, and run it withfirefox &. It should open a new Firefox window withhttps://fedoraproject.org/startloaded. - Install and run a container with
sudo dnf install podman ; podman run hello
Expected Results
- Step 3 should return your default username
- Step 4 should return
root - Step 5 should succeed, and
fastfetchshould run without errors - Step 6 should open a new window with a shell prompt.
- Step 7 should open Firefox and successfully load
https://fedoraproject.org/start - Step 8 should install correctly with no errors, and
podman run helloshould display some ascii-tastic otters.
Optional
Optionally provide hints for exploratory testing.
