r14631: Add {,un}installpammodules rule and add it to the install rule.
[tprouty/samba.git] / source / script / tests / t_001.sh
index f9f530c9744cca777982ace40039dcc9ccbf9d32..6d54d0e4895a70e2b23b282c98660a57e180c4fb 100644 (file)
@@ -5,9 +5,10 @@
 cat >$CONFFILE<<EOF
 [global]
        include = $LIBDIR/common.conf
+       smb ports = 139
 
 [test]
-       path = $TMPDIR
+       path = $PREFIX_ABS/tmp
        read only = no
 EOF
 
@@ -15,8 +16,15 @@ EOF
 ## Test code 
 ##
 
+/bin/rm -rf $PREFIX_ABS/tmp
+mkdir $PREFIX_ABS/tmp
+chmod 1777 $PREFIX_ABS/tmp
+
 start_smbd || exit $?
 
 smbclient $CONFIGURATION -L localhost -N -p 139
+ret=$?
 
 stop_smbd
+
+exit $ret