2010-06-12 07:33:53 +02:00
|
|
|
# vim: syn=sh:
|
|
|
|
# ----------
|
2010-06-18 18:13:53 +02:00
|
|
|
$TESTDIR/rollback || die "rollback failed"
|
2010-06-12 07:33:53 +02:00
|
|
|
editrc GL_BIG_CONFIG 0
|
|
|
|
|
|
|
|
name "base output with no groups"
|
|
|
|
echo "
|
|
|
|
repo aa
|
|
|
|
RW+ = u1
|
|
|
|
RW = u2 u3
|
|
|
|
" | ugc
|
|
|
|
|
|
|
|
catconf
|
|
|
|
expect_filesame $TESTDIR/out/t02-user-groups.1
|
|
|
|
|
|
|
|
# ----------
|
2010-06-18 18:13:53 +02:00
|
|
|
$TESTDIR/rollback || die "rollback failed"
|
2010-06-12 07:33:53 +02:00
|
|
|
editrc GL_BIG_CONFIG 0
|
|
|
|
|
|
|
|
name "output with eqvt user groups"
|
|
|
|
echo "
|
|
|
|
@g1 = u1
|
|
|
|
@g2 = u2 u3
|
|
|
|
@g3 = u4 u5 u6
|
|
|
|
|
|
|
|
repo aa
|
|
|
|
RW+ = @g1
|
|
|
|
RW = @g2
|
|
|
|
" | ugc
|
|
|
|
|
|
|
|
catconf
|
2010-08-21 06:26:11 +02:00
|
|
|
expect_filesame $TESTDIR/out/t02-user-groups.1b
|
2010-06-12 07:33:53 +02:00
|
|
|
|
|
|
|
# ----------
|
2010-06-18 18:13:53 +02:00
|
|
|
$TESTDIR/rollback || die "rollback failed"
|
2010-06-12 07:33:53 +02:00
|
|
|
editrc GL_BIG_CONFIG 1
|
|
|
|
|
|
|
|
name "base output with no groups but GL_BIG_CONFIG on"
|
|
|
|
echo "
|
|
|
|
repo aa
|
|
|
|
RW+ = u1
|
|
|
|
RW = u2 u3
|
|
|
|
" | ugc
|
|
|
|
|
|
|
|
catconf
|
|
|
|
expect_filesame $TESTDIR/out/t02-user-groups.1
|
|
|
|
|
|
|
|
# ----------
|
2010-06-18 18:13:53 +02:00
|
|
|
$TESTDIR/rollback || die "rollback failed"
|
2010-06-12 07:33:53 +02:00
|
|
|
editrc GL_BIG_CONFIG 1
|
|
|
|
|
|
|
|
name "user groups with GL_BIG_CONFIG on"
|
|
|
|
echo "
|
|
|
|
@g1 = u1
|
|
|
|
@g2 = u2 u3
|
|
|
|
@g3 = u4 u5 u6
|
|
|
|
|
|
|
|
repo aa
|
|
|
|
RW+ = @g1
|
|
|
|
RW = @g2
|
|
|
|
" | ugc
|
|
|
|
|
|
|
|
catconf
|
|
|
|
expect_filesame $TESTDIR/out/t02-user-groups.2
|
2010-06-18 18:13:53 +02:00
|
|
|
|
|
|
|
name INTERNAL
|