diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2020-07-14 12:03:17 -0400 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2020-07-21 10:01:01 -0400 |
commit | c78c7c1852f89f1ebe63390f1e1c55dfea9ddcdb (patch) | |
tree | e48efa03687160233c724d05ff1243b29bb4fb54 | |
parent | 840370ba2155ce7c7c65d2282c49ab960f26f731 (diff) | |
download | sos-c78c7c1852f89f1ebe63390f1e1c55dfea9ddcdb.tar.gz |
[tests] Update sos.conf location
Updates the check for sos.conf with the new location
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rwxr-xr-x | tests/simple.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/simple.sh b/tests/simple.sh index a759a106..f3b9292d 100755 --- a/tests/simple.sh +++ b/tests/simple.sh @@ -82,12 +82,13 @@ run_expecting_sucess () { fi } -# If /etc/sos.conf doesn't exist let's just make it.. -if [ -f /etc/sos.conf ]; then - echo "/etc/sos.conf already exists" +# If /etc/sos/sos.conf doesn't exist let's just make it.. +if [ -f /etc/sos/sos.conf ]; then + echo "/etc/sos/sos.conf already exists" else echo "Creating /etc/sos.conf" - touch /etc/sos.conf + mkdir /etc/sos + touch /etc/sos/sos.conf fi # Runs not generating sosreports |