aboutsummaryrefslogtreecommitdiff
blob: 847ae07ea257fdeedc287365fa874b786fe41706 (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
26
27
28
#!/bin/bash

#Should fail if ECHANGELOG_USER not set:
echo 'metagen -m -Q'
metagen -m -Q

echo 'metagen -e "someguy@gentoo.org" -d "Maint desc" -Q'
metagen -e "someguy@gentoo.org" -d "Maint desc" -Q

echo 'metagen -e "someguy@gentoo.org" -n "Jon Doe" -d "Maint desc" -Q'
metagen -e "someguy@gentoo.org" -n "Jon Doe" -d "Maint desc" -Q

#Should fail if ECHANGELOG_USER not set:
echo 'metagen -m -H python -e "foo@bar.com" -d "Foo bar.","Chow fun" -Q'
metagen -m -H python -e "foo@bar.com" -d "Foo bar.","Chow fun" -Q

#Should fail:
echo 'metagen -Q'
metagen -Q

#Should fail:
echo 'metagen -l "Long desc" -Q'
metagen -l "Long desc" -Q

#Should fail:
echo 'metagen -d "Maintainer desc" -Q'
metagen -d "Maintainer desc" -Q