summaryrefslogtreecommitdiff
path: root/tests/basic-test.sh
diff options
context:
space:
mode:
authorMatthew Leeds <matthew.leeds@endlessm.com>2018-03-28 15:56:13 -0700
committerAtomic Bot <atomic-devel@projectatomic.io>2018-03-28 23:41:55 +0000
commit925772eb09f45f463f9f321d89063973544cbf6d (patch)
treebfd945ae3dc35d1e736fb919769e4d28435142b4 /tests/basic-test.sh
parentd379f87405d4d19a857d4977271d473acfc85250 (diff)
downloadostree-925772eb09f45f463f9f321d89063973544cbf6d.tar.gz
tests: Fix unit test for ref-binding metadata
The `ostree show` command is currently failing due to incorrect syntax, but we want to check that it fails because the metadata isn't there. Closes: #1520 Approved by: cgwalters
Diffstat (limited to 'tests/basic-test.sh')
-rw-r--r--tests/basic-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic-test.sh b/tests/basic-test.sh
index b8e7eb07..e0ed2c32 100644
--- a/tests/basic-test.sh
+++ b/tests/basic-test.sh
@@ -851,7 +851,7 @@ $OSTREE show --print-metadata-key=ostree.ref-binding test2 > test2-ref-binding
assert_file_has_content test2-ref-binding 'test2'
$OSTREE commit ${COMMIT_ARGS} -b test2-unbound --no-bindings --tree=dir=${test_tmpdir}/checkout-test2
-if $OSTREE show --print-metadata-key=ostree.ref-binding; then
+if $OSTREE show --print-metadata-key=ostree.ref-binding test2-unbound; then
fatal "ref bindings found with --no-bindings?"
fi
echo "ok refbinding"