dryang / rpms / systemd

Forked from rpms/systemd a year ago
Clone
984f77
From 10758905f159bbe87a10f185f7e9afefbbd21fd4 Mon Sep 17 00:00:00 2001
984f77
From: Jan Macku <jamacku@redhat.com>
984f77
Date: Fri, 26 Aug 2022 13:06:42 +0200
984f77
Subject: [PATCH] ci(functions): Add `useradd` and `userdel`
984f77
984f77
Inspired by upstream commit:
984f77
https://github.com/systemd/systemd/commit/9c94ab0f6ff22da4278a6e9a93ddc480607c55ac
984f77
984f77
RHEL-only
984f77
984f77
Related: #2110549
984f77
---
984f77
 test/test-functions | 2 +-
984f77
 1 file changed, 1 insertion(+), 1 deletion(-)
984f77
984f77
diff --git a/test/test-functions b/test/test-functions
984f77
index ed8ab98173..19363be858 100644
984f77
--- a/test/test-functions
984f77
+++ b/test/test-functions
984f77
@@ -23,7 +23,7 @@ fi
984f77
 
984f77
 PATH_TO_INIT=$ROOTLIBDIR/systemd
984f77
 
984f77
-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"
984f77
+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"
984f77
 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"
984f77
 
984f77
 STATEDIR="${BUILD_DIR:-.}/test/$(basename $(dirname $(realpath $0)))"