[Pkg-shadow-commits] r1075 - trunk/tests/usertools/01
Nicolas FRANCOIS
nekral-guest at costa.debian.org
Sat Aug 5 23:51:50 UTC 2006
Author: nekral-guest
Date: 2006-08-05 23:51:49 +0000 (Sat, 05 Aug 2006)
New Revision: 1075
Modified:
trunk/tests/usertools/01/run1
trunk/tests/usertools/01/run2
trunk/tests/usertools/01/run3
trunk/tests/usertools/01/run4
Log:
Update the rationnal of tests tests/usertools/01/run1 to
tests/usertools/01/run4.
Modified: trunk/tests/usertools/01/run1
===================================================================
--- trunk/tests/usertools/01/run1 2006-08-05 23:48:46 UTC (rev 1074)
+++ trunk/tests/usertools/01/run1 2006-08-05 23:51:49 UTC (rev 1075)
@@ -5,12 +5,8 @@
cd $(dirname $0)
# Rational:
-# Test that su can be used to switch to root and to a normal account
+# Test that useradd can add an user and userdel removes it.
-# no testsuite password
-# root password: rootF00barbaz
-# myuser password: myuserF00barbaz
-
save()
{
[ ! -d tmp ] && mkdir tmp
Modified: trunk/tests/usertools/01/run2
===================================================================
--- trunk/tests/usertools/01/run2 2006-08-05 23:48:46 UTC (rev 1074)
+++ trunk/tests/usertools/01/run2 2006-08-05 23:51:49 UTC (rev 1075)
@@ -5,12 +5,9 @@
cd $(dirname $0)
# Rational:
-# Test that su can be used to switch to root and to a normal account
+# Test that if a user is created, removed and another user is created, the
+# UID of the first user is reused.
-# no testsuite password
-# root password: rootF00barbaz
-# myuser password: myuserF00barbaz
-
save()
{
[ ! -d tmp ] && mkdir tmp
Modified: trunk/tests/usertools/01/run3
===================================================================
--- trunk/tests/usertools/01/run3 2006-08-05 23:48:46 UTC (rev 1074)
+++ trunk/tests/usertools/01/run3 2006-08-05 23:51:49 UTC (rev 1075)
@@ -5,12 +5,9 @@
cd $(dirname $0)
# Rational:
-# Test that su can be used to switch to root and to a normal account
+# Test the options used to provide information on the user
+# (--comment, --expiredate, --shell, --inactive, --home-dir)
-# no testsuite password
-# root password: rootF00barbaz
-# myuser password: myuserF00barbaz
-
save()
{
[ ! -d tmp ] && mkdir tmp
Modified: trunk/tests/usertools/01/run4
===================================================================
--- trunk/tests/usertools/01/run4 2006-08-05 23:48:46 UTC (rev 1074)
+++ trunk/tests/usertools/01/run4 2006-08-05 23:51:49 UTC (rev 1075)
@@ -5,12 +5,10 @@
cd $(dirname $0)
# Rational:
-# Test that su can be used to switch to root and to a normal account
+# Test the -u option of useradd (we can specify the new user UID)
+# Check that we can't create an user with the same UID without the -o
+# option.
-# no testsuite password
-# root password: rootF00barbaz
-# myuser password: myuserF00barbaz
-
save()
{
[ ! -d tmp ] && mkdir tmp
More information about the Pkg-shadow-commits
mailing list