core: Add --no-xattrs option for commit

Will be used by ostbuild.
This commit is contained in:
Colin Walters committed 2012-01-05 19:10:26 -05:00
1 parent 5c3614d644
commit 5119cbdb7c
4 files changed
+24 -8

No files matched your search

+5 -1
View File
@@ -19,7 +19,7 @@
set -e
echo "1..22"
echo "1..23"
. libtest.sh
@@ -169,3 +169,7 @@ $OSTREE show test2 > test2-commit-text
assert_file_has_content test2-commit-text "'FOO'.*'BAR'"
assert_file_has_content test2-commit-text "'KITTENS'.*'CUTE'"
echo "ok metadata commit with strings"
cd ${test_tmpdir}/checkout-test2-4
$OSTREE commit -b test2 -s "no xattrs" --no-xattrs
echo "ok commit with no xattrs"