dryang / rpms / systemd

Forked from rpms/systemd a year ago
Clone
b7dd4d
From 10758905f159bbe87a10f185f7e9afefbbd21fd4 Mon Sep 17 00:00:00 2001
b7dd4d
From: Jan Macku <jamacku@redhat.com>
b7dd4d
Date: Fri, 26 Aug 2022 13:06:42 +0200
b7dd4d
Subject: [PATCH] ci(functions): Add `useradd` and `userdel`
b7dd4d
b7dd4d
Inspired by upstream commit:
b7dd4d
https://github.com/systemd/systemd/commit/9c94ab0f6ff22da4278a6e9a93ddc480607c55ac
b7dd4d
b7dd4d
RHEL-only
b7dd4d
b7dd4d
Related: #2110549
b7dd4d
---
b7dd4d
 test/test-functions | 2 +-
b7dd4d
 1 file changed, 1 insertion(+), 1 deletion(-)
b7dd4d
b7dd4d
diff --git a/test/test-functions b/test/test-functions
b7dd4d
index ed8ab98173..19363be858 100644
b7dd4d
--- a/test/test-functions
b7dd4d
+++ b/test/test-functions
b7dd4d
@@ -23,7 +23,7 @@ fi
b7dd4d
 
b7dd4d
 PATH_TO_INIT=$ROOTLIBDIR/systemd
b7dd4d
 
b7dd4d
-BASICTOOLS="test sh bash setsid loadkeys setfont login sulogin gzip sleep echo mount umount cryptsetup date dmsetup modprobe sed cmp tee rm true false chmod chown ln xargs env mktemp mountpoint"
b7dd4d
+BASICTOOLS="test sh bash setsid loadkeys setfont login sulogin gzip sleep echo mount umount cryptsetup date dmsetup modprobe sed cmp tee rm true false chmod chown ln xargs env mktemp mountpoint useradd userdel"
b7dd4d
 DEBUGTOOLS="df free ls stty cat ps ln ip route dmesg dhclient mkdir cp ping dhclient strace less grep id tty touch du sort hostname find"
b7dd4d
 
b7dd4d
 STATEDIR="${BUILD_DIR:-.}/test/$(basename $(dirname $(realpath $0)))"