Skip to content
Snippets Groups Projects
Unverified Commit 9aed620b authored by Marcin Ślusarz's avatar Marcin Ślusarz Committed by GitHub
Browse files

Merge pull request #3553 from kilobyte/bash-5-rpmemd_config

test: fix one of failing bash-5 tests
parents 922fdd91 4ed2ddc7
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env bash #!/usr/bin/env bash
# #
# Copyright 2016-2018, Intel Corporation # Copyright 2016-2019, Intel Corporation
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions # modification, are permitted provided that the following conditions
...@@ -55,7 +55,7 @@ INVALID_FLAG=invalid ...@@ -55,7 +55,7 @@ INVALID_FLAG=invalid
INVALID_ENUM=Invalid INVALID_ENUM=Invalid
function check_config { function check_config {
echo -e $1 > $CONFIG echo -e "$1" > $CONFIG
expect_normal_exit $RPMEMD -c $CONFIG 1>> $OUT_TEMP 2>&1 expect_normal_exit $RPMEMD -c $CONFIG 1>> $OUT_TEMP 2>&1
expect_normal_exit $RPMEMD --config $CONFIG 1>> $OUT_TEMP 2>&1 expect_normal_exit $RPMEMD --config $CONFIG 1>> $OUT_TEMP 2>&1
} }
......
...@@ -3,13 +3,13 @@ Invalid config file line at $(*):1 ...@@ -3,13 +3,13 @@ Invalid config file line at $(*):1
Invalid config file line at $(*):1 Invalid config file line at $(*):1
; invalid comment format ; invalid comment format
Invalid config file line at $(*):1 Invalid config file line at $(*):1
dir= # invalid dir path dir= # invalid dir path
Invalid config file line at $(*):1 Invalid config file line at $(*):1
dir= # invalid dir path dir= # invalid dir path
Invalid config file line at $(*):1 Invalid config file line at $(*):1
log-file= # invalid log-file path log-file= # invalid log-file path
Invalid config file line at $(*):1 Invalid config file line at $(*):1
log-file= # invalid log-file path log-file= # invalid log-file path
Invalid config file line at $(*):1 Invalid config file line at $(*):1
log-level=Invalid # invalid log-level log-level=Invalid # invalid log-level
Invalid config file line at $(*):1 Invalid config file line at $(*):1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment