Ansgar pushed to branch master at Debian FTP Team / dak
Commits:
-
3afaf267
by Ansgar at 2022-09-18T23:15:18+02:00
1 changed file:
Changes:
... | ... | @@ -130,6 +130,36 @@ EOF |
130 | 130 | assert-control-suite-list testing "${expected}"
|
131 | 131 | )
|
132 | 132 | |
133 | +# use control-suite --add to add a package to testing
|
|
134 | +(
|
|
135 | + dak control-suite --add=testing <<EOF
|
|
136 | +package 0.2-1 source
|
|
137 | +package 0.2-1 all
|
|
138 | +EOF
|
|
139 | + expected="$(cat <<EOF
|
|
140 | +package 0.1-1 all
|
|
141 | +package 0.2-1 all
|
|
142 | +package 0.1-1 source
|
|
143 | +package 0.2-1 source
|
|
144 | +EOF
|
|
145 | +)"
|
|
146 | + assert-control-suite-list testing "${expected}"
|
|
147 | +)
|
|
148 | + |
|
149 | +# and control-suite --remove to remove it again
|
|
150 | +(
|
|
151 | + dak control-suite --remove=testing <<EOF
|
|
152 | +package 0.2-1 source
|
|
153 | +package 0.2-1 all
|
|
154 | +EOF
|
|
155 | + expected="$(cat <<EOF
|
|
156 | +package 0.1-1 all
|
|
157 | +package 0.1-1 source
|
|
158 | +EOF
|
|
159 | +)"
|
|
160 | + assert-control-suite-list testing "${expected}"
|
|
161 | +)
|
|
162 | + |
|
133 | 163 | # dak ls run just for the sake of it
|
134 | 164 | (
|
135 | 165 | expected="$(cat <<EOF
|