mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-07 21:18:55 +03:00
17 lines
303 B
Bash
17 lines
303 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# Test that we didn't regress /etc/ostree/remotes.d handling
|
||
|
|
||
|
set -xeuo pipefail
|
||
|
|
||
|
dn=$(dirname $0)
|
||
|
. ${dn}/libinsttest.sh
|
||
|
|
||
|
test_tmpdir=$(prepare_tmpdir)
|
||
|
trap _tmpdir_cleanup EXIT
|
||
|
|
||
|
ostree remote list > remotes.txt
|
||
|
if ! test -s remotes.txt; then
|
||
|
assert_not_reached "no ostree remotes"
|
||
|
fi
|