From d9883ee64215ee91bfe1cc3e75c83ec6e6875671 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 1 Aug 2017 07:08:29 +0200 Subject: mkpkglists: Generate a list of user names In addition to the packages list and the package base list, also create a list of registered user names. Signed-off-by: Lukas Fleischer --- test/t2100-mkpkglists.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'test/t2100-mkpkglists.sh') diff --git a/test/t2100-mkpkglists.sh b/test/t2100-mkpkglists.sh index 1e2edc38..fc11d073 100755 --- a/test/t2100-mkpkglists.sh +++ b/test/t2100-mkpkglists.sh @@ -44,4 +44,22 @@ test_expect_success 'Test package list generation.' ' test_cmp actual expected ' +test_expect_success 'Test user list generation.' ' + "$MKPKGLISTS" && + cat <<-EOD >expected && + dev + tu + tu2 + tu3 + tu4 + user + user2 + user3 + user4 + EOD + gunzip users.gz && + sed "/^#/d" users >actual && + test_cmp actual expected +' + test_done -- cgit v1.2.3-24-g4f1b