diff options
author | Jonathan Lebon <jonathan@jlebon.com> | 2018-03-14 10:36:48 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-03-16 19:21:31 +0000 |
commit | 4e4436beec35f4f48d9750fa39f0a3d7fa94de7e (patch) | |
tree | cd6083b7d63e522b2cc5f02b717494c095a0b6f1 /tests/test-remote-cookies.sh | |
parent | 296ef25e12d1c4a49e98b3f9e0a86a31b3762a98 (diff) | |
download | ostree-4e4436beec35f4f48d9750fa39f0a3d7fa94de7e.tar.gz |
lib/fetcher: Allow clients to append to User-Agent
We do already have `http-headers`, which potentially could be used to
allow clients to completely override the field, but it seems like the
more common use case is simply to append.
Closes: #1496
Approved by: cgwalters
Diffstat (limited to 'tests/test-remote-cookies.sh')
-rwxr-xr-x | tests/test-remote-cookies.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-remote-cookies.sh b/tests/test-remote-cookies.sh index 74e30cb5..e94a70d1 100755 --- a/tests/test-remote-cookies.sh +++ b/tests/test-remote-cookies.sh @@ -27,7 +27,8 @@ echo '1..4' . $(dirname $0)/libtest.sh setup_fake_remote_repo1 "archive" "" \ - "--expected-cookies foo=bar --expected-cookies baz=badger" + --expected-cookies foo=bar \ + --expected-cookies baz=badger assert_fail (){ if $@; then |