Skip to content

Commit

Permalink
tests: add new line when appeding to uaclient.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmoura authored and orndorffgrant committed Mar 15, 2024
1 parent 13845cd commit 636ea94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/steps/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

@when("I append the following on uaclient config")
def when_i_append_to_uaclient_config(context):
cmd = "printf '{}\n' > /tmp/uaclient.conf".format(context.text)
cmd = "printf '\n{}\n' > /tmp/uaclient.conf".format(context.text)
cmd = 'sh -c "{}"'.format(cmd)
when_i_run_command(context, cmd, "as non-root")

Expand Down

0 comments on commit 636ea94

Please sign in to comment.