summaryrefslogtreecommitdiff
path: root/tests/tests/gdr-import-dgitview
blob: 84fc50c4f600fda882e90e652674c5159af67d2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
set -e
. tests/lib
. $troot/lib-gdr

t-dependencies GDR

t-tstunt-parsechangelog

t-archive example 1.0-1
t-git-none

t-dgit clone $p

cd $p

t-git-debrebase status

t-expect-fail E:'bare dgit dsc import' \
t-git-debrebase

LC_MESSAGES=C t-git-debrebase status |tee ../bare-output
grep 'bare dgit dsc import with no prior history' ../bare-output

t-ok