From 2dd01f6cc0c6333b58c3e77f3d8a3dca116a1c8b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 22:46:56 +0200 Subject: Adding debian version 1:4.13+dfsg1-4. Signed-off-by: Daniel Baumann --- debian/tests/smoke | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 debian/tests/smoke (limited to 'debian/tests/smoke') diff --git a/debian/tests/smoke b/debian/tests/smoke new file mode 100755 index 0000000..69bbfb0 --- /dev/null +++ b/debian/tests/smoke @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +echo "Adding an user works" +useradd shadow-test-user +grep '^shadow-test-user:x:' /etc/passwd +grep '^shadow-test-user:!:' /etc/shadow + +echo "Removing an user works" +userdel shadow-test-user +! grep 'shadow-test-user' /etc/passwd +! grep 'shadow-test-user' /etc/shadow -- cgit v1.2.3