mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-24 16:57:42 -04:00
tests: Silence assert_remote_has_no_config
This is meant to fail, so redirect its stderr to get less confusing test logs.
This commit is contained in:
committed by
Alexander Larsson
parent
67d3443999
commit
a32fb1e333
@@ -244,7 +244,7 @@ assert_remote_has_config () {
|
||||
|
||||
assert_remote_has_no_config () {
|
||||
{ { local BASH_XTRACEFD=3; } 2> /dev/null
|
||||
if ostree config --repo=$FL_DIR/repo get --group 'remote "'"$1"'"' "$2" > /dev/null; then
|
||||
if ostree config --repo=$FL_DIR/repo get --group 'remote "'"$1"'"' "$2" > /dev/null &> /dev/null; then
|
||||
echo 1>&2 "Remote '$1' unexpectedly has key '$2' at $(basename ${BASH_SOURCE[1]}):${BASH_LINENO[0]}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user