s3-selftest: include addprinter/deleteprinter command.
[abartlet/samba.git/.git] / source3 / script / tests / selftest.sh
index b9c11b8f50bf1ea57f8cbaf6e64a68d9cd5d57e4..e6e3c2915bb402f3ca0f60e8fbaa21cc6a721bd9 100755 (executable)
@@ -236,6 +236,9 @@ cat >$SERVERCONFFILE<<EOF
        delete group script =           $PERL $SRCDIR/../lib/nss_wrapper/nss_wrapper.pl --group_path  $NSS_WRAPPER_GROUP  --type group  --action delete --name %g
        delete user from group script = $PERL $SRCDIR/../lib/nss_wrapper/nss_wrapper.pl --group_path  $NSS_WRAPPER_GROUP  --type member --action delete --name %g --member %u --passwd_path $NSS_WRAPPER_PASSWD
 
+       addprinter command =            $PERL $SRCDIR/../source3/script/tests/printing/modprinter.pl -a -s $SERVERCONFFILE --
+       deleteprinter command =         $PERL $SRCDIR/../source3/script/tests/printing/modprinter.pl -d -s $SERVERCONFFILE --
+
        kernel oplocks = no
        kernel change notify = no