mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-22 17:35:55 +03:00
basic-test: commit with a non-empty subject
[smcv: split out from a larger commit, part of PR #231; add commit message] Signed-off-by: Simon McVittie <smcv@debian.org> Closes: #232 Approved by: cgwalters
This commit is contained in:
parent
7835fcdc68
commit
8cda8b6866
@ -114,7 +114,7 @@ assert_streq $($OSTREE log test2-custom-parent |grep '^commit' | wc -l) "3"
|
||||
echo "ok commit custom parent"
|
||||
|
||||
cd ${test_tmpdir}
|
||||
orphaned_rev=$($OSTREE commit --orphan -s '' $test_tmpdir/checkout-test2-4)
|
||||
orphaned_rev=$($OSTREE commit --orphan -s "$(date)" $test_tmpdir/checkout-test2-4)
|
||||
$OSTREE ls ${orphaned_rev} >/dev/null
|
||||
$OSTREE prune --refs-only
|
||||
if $OSTREE ls ${orphaned_rev} 2>err.txt; then
|
||||
|
Loading…
Reference in New Issue
Block a user