summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJonathan Lebon <jlebon@redhat.com>2016-03-31 14:10:27 +0100
committerColin Walters (automation) <walters+githubbot@verbum.org>2016-03-31 14:22:06 +0000
commit8cda8b6866f86ffdda8622c9108e949d0ed6c27f (patch)
tree29077390b978e971382829c653b79f9ac0bd59ca /tests
parent7835fcdc682ef02654ae6aee98b45283478ec275 (diff)
downloadostree-8cda8b6866f86ffdda8622c9108e949d0ed6c27f.tar.gz
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
Diffstat (limited to 'tests')
-rwxr-xr-xtests/basic-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic-test.sh b/tests/basic-test.sh
index 1ae7e7a4..5519764a 100755
--- a/tests/basic-test.sh
+++ b/tests/basic-test.sh
@@ -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