test/system: add support for no ~/.bash_profile
The test "run: Ensure that a login shell is used to invoke the command" assumes ~/.bash_profile is present the host system and fails without it.
Build failed. https://softwarefactory-project.io/zuul/t/local/buildset/cd4ae47f9d3c4b5ab16b00fba1f2d6ec
:x: unit-test FAILURE in 8m 27s :x: unit-test-migration-path-for-coreos-toolbox FAILURE in 8m 56s :x: unit-test-restricted FAILURE in 8m 10s :heavy_check_mark: system-test-fedora-rawhide SUCCESS in 30m 26s :heavy_check_mark: system-test-fedora-39 SUCCESS in 29m 15s :heavy_check_mark: system-test-fedora-38 SUCCESS in 29m 58s :heavy_check_mark: system-test-fedora-37 SUCCESS in 29m 33s
Build succeeded. https://softwarefactory-project.io/zuul/t/local/buildset/4819d56f926f4b9ab4283bf3d44bdd61
:heavy_check_mark: unit-test SUCCESS in 7m 07s :heavy_check_mark: unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 17s :heavy_check_mark: unit-test-restricted SUCCESS in 6m 35s :heavy_check_mark: system-test-fedora-rawhide SUCCESS in 28m 22s :heavy_check_mark: system-test-fedora-39 SUCCESS in 27m 20s :heavy_check_mark: system-test-fedora-38 SUCCESS in 27m 42s :heavy_check_mark: system-test-fedora-37 SUCCESS in 27m 37s
I don't have a ~/.bash_profile because I don't use bash (at least for my regular user) and the file don't really do anything by default (~/.bashrc will be loaded without it), so I just deleted it. If you think this patch is too situational to include, that perfectly reasonable.
Build succeeded. https://softwarefactory-project.io/zuul/t/local/buildset/8b166da4e6dd4503a099fc9285f154a5
:heavy_check_mark: unit-test SUCCESS in 6m 43s :heavy_check_mark: unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 08s :heavy_check_mark: unit-test-restricted SUCCESS in 5m 59s :heavy_check_mark: system-test-fedora-rawhide SUCCESS in 30m 29s :heavy_check_mark: system-test-fedora-39 SUCCESS in 28m 16s :heavy_check_mark: system-test-fedora-38 SUCCESS in 32m 23s