summaryrefslogtreecommitdiffstats
path: root/plugins/sudoers/regress/cvtsudoers/test23.sh
blob: 02b8238c8984b8588ed72724d843c985ce15350a (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
#
# Test round-tripping of sudoers -> LDIF -> sudoers
#

: ${CVTSUDOERS=cvtsudoers}

$CVTSUDOERS -c "" -b "ou=SUDOers,dc=sudo,dc=ws" $TESTDIR/test23.out.ok | \
    $CVTSUDOERS -c "" -i LDIF -f sudoers | grep -v '^#'