tests: abuild-keygen: test PACKAGER set

This commit is contained in:
Natanael Copa 2021-05-06 14:00:40 +02:00
parent b4816004a1
commit 5f15ae8360
1 changed files with 2 additions and 2 deletions

View File

@ -28,8 +28,8 @@ teardown() {
}
@test "abuild-keygen: --append option" {
$ABUILD_KEYGEN --append -n
grep ^PACKAGER_PRIVKEY= "$ABUILD_USERDIR"/abuild.conf
PACKAGER="Test User <user@example.com>" $ABUILD_KEYGEN --append -n
grep '^PACKAGER_PRIVKEY=.*user@example.com' "$ABUILD_USERDIR"/abuild.conf
}
@test "abuild-keygen: --install option fails without SUDO" {