1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

286 Commits

Author SHA1 Message Date
Stefan Metzmacher
4856cd51f0 r15735: also export PREFIX as testit from test_functions.sh needs it
metze
(This used to be commit 8709bba24a)
2007-10-10 11:17:10 -05:00
Stefan Metzmacher
385fa8cafb r15732: samba3 now passes BASE-DENY1
metze
(This used to be commit e5a8553a57)
2007-10-10 11:17:09 -05:00
Gerald Carter
bc77e15c30 r15717: BUG 3711: patch from Leonid Kabanov <lkabanov@mail.ru> for some solaris sheel scripting bugs with 'make test'
(This used to be commit 94e0bc5013)
2007-10-10 11:17:09 -05:00
Stefan Metzmacher
c4d4e8dd31 r15691: - samba3 also pass RAW-CHKPATH, RAW-SEEK, RAW-SFILEINFO-BUG
- samba3 pass the limited version of RAW-LOCK
  (the lock cancel and error checking tests are skipped)

metze
(This used to be commit b79ceece95)
2007-10-10 11:17:07 -05:00
Stefan Metzmacher
9b9c6c3632 r15686: - start testing the RAW-* tests in make test
- RAW-READ now passes samba3
- skip the rest for now

metze
(This used to be commit fc343051af)
2007-10-10 11:17:07 -05:00
Stefan Metzmacher
46586a1fd3 r15682: fix option passing
metze
(This used to be commit cd2fa1da6c)
2007-10-10 11:17:07 -05:00
Stefan Metzmacher
039113fe15 r15620: pass 'target:samba3=yes' to samba4's smbtorture when running samba3's make test
we can use this in samba4's smbtorture to disable tests sections which doesn't pass
against samba3

metze
(This used to be commit fab4de70b6)
2007-10-10 11:17:03 -05:00
Deryck Hodge
a24c545bac r15466: Install the images for SWAT.
And we don't install any JavaScript (hold over from a prior SWAT
svn ci trunk/ branches/SAMBA_3_0 -m
(This used to be commit 9bf07ba6cc)
2007-10-10 11:16:51 -05:00
James Peach
7835930549 r15447: Teach "smbd -b" to emit the sizes of a few more types that
might be interesting. Push the spacing across a bit so that
it all lines up nicely.
(This used to be commit efd961e4ee)
2007-10-10 11:16:46 -05:00
Stefan Metzmacher
c398ea247b r14886: reenable BASE-DENY2 and BASE-DENY3
metze
(This used to be commit 69f489bde0)
2007-10-10 11:15:52 -05:00
Stefan Metzmacher
97bfe0d0a0 r14884: this doesn't work and causes processes to be left when using ctrl-c (SIGINT)
metze
(This used to be commit 1ac5351646)
2007-10-10 11:15:52 -05:00
Stefan Metzmacher
186f442f4c r14865: - enforce timelimits for the tests
- and skip some long tests for now

metze
(This used to be commit 1d52ae786d)
2007-10-10 11:15:52 -05:00
Stefan Metzmacher
3aaa903102 r14820: sync test_posix_p3.sh with test_posix.sh from samba4
but only run the BASE-* tests and ignore some more than in samba4

metze
(This used to be commit 6f37658f92)
2007-10-10 11:15:49 -05:00
Stefan Metzmacher
c3624eb7c4 r14809: - add my email address
- fix usage()
- remove unused var

metze
(This used to be commit 20782719d9)
2007-10-10 11:15:49 -05:00
Stefan Metzmacher
2f28844a10 r14744: allow ./timelimit 5 ./timelimit 20 ./ignore_all_signals
to work,

this is needed when we enable samba3's make test
in the build-farm

metze
(This used to be commit b120c21669)
2007-10-10 11:15:45 -05:00
Stefan Metzmacher
aa583e5912 r14678: - we need to use 127.0.0.2/8 as interface for the server
as nmbd skip interfaces with address 127.0.0.1
- add samba3 smbclient -L tests
- add samba3 smbtorture tests

metze
(This used to be commit 835f8f4339)
2007-10-10 11:15:43 -05:00
Stefan Metzmacher
ed9ad1827b r14632: add basic 'make test' using samba4's smbtorture
I'll try to add some tests using samba3's smbtorture and smbclient
later.

can someone check if this would be save to run on the build-farm
without leaking child processes...

metze
(This used to be commit 899fd6808e)
2007-10-10 11:15:40 -05:00
Stefan Metzmacher
906c19faca r14628: sync timelimit.c with the version from the build-farm repository
metze
(This used to be commit 1b6a643785)
2007-10-10 11:15:40 -05:00
Stefan Metzmacher
b40e258870 r14624: - add timelimit.c
- add configure tests --with-selftest-prefix=/tmp/samba-test
  this is needed because the path name of unix socket can only be 108 chars long
- add configure test --with-smbtorture4-path=/home/foo/prefix/samba4/bin/smbtorture
  this will be used to run samba4's smbtorture inside samba3's make test later

metze
(This used to be commit d9df1853b9)
2007-10-10 11:15:39 -05:00
Lars Müller
9b27791644 r14325: Add pam_modules rule which builds the configure(d) pam modules. This is
called as part of the all rule (again only if pam modules are requested
by configure).

Add pam_winbind rule.

Ensure proto_exists before we build the pam modules.

Add test_pam_modules rule to test if the built pam modules have any
unresolved symbols.  For test_pam_modules we use script/tests/dlopen.sh
which was written by Nalin Dahyabhai <nalin@redhat.com>.  Thanks Nalin!
RedHat and SuSE use this script to test nss and pam modules since
several years.
(This used to be commit 71b2eb55ad)
2007-10-10 11:15:25 -05:00
Lars Müller
24decd1233 r14056: Also install the mount.smbfs sym link to rootsbindir. Therfore we have
to substitute rootsbindir in {,un}installbin.sh.in.

Pass $prefix as third arg to installbin/ uninstallbin as rootsbindir by
default is $prefix/sbin.
(This used to be commit 7773b8c9e0)
2007-10-10 11:11:09 -05:00
Lars Müller
f27228fc31 r14052: Remove BASEDIR use in the Makefile. BASEDIR=prefix=@prefix@ till now.
I suggest to stay with ^BASEDIR= @prefix@$ for at least the next release
to give external projects - like samba-vscan project - time to adopt
this change.

BASEDIR is non of the default autoconf variables.  prefix is.

Jerry1: If possible please announce this with the next release.  I'll
self reply to technical.

Jerry2: This does not break your makepkg stuff as you set BASEDIR
_not_ from the Makefile.
(This used to be commit 730d5ec229)
2007-10-10 11:11:08 -05:00
Volker Lendecke
bf565b7b7b r13816: Volunteering :-)
> for the svn log:
>
> - Solaris' /bin/sh doesn't know "test -e" - let's use "test -f" instead
>
> Some volunteer wanna check this in? :)
>
> Cheers
> Bjoern

Volker
(This used to be commit 58d5f2031a)
2007-10-10 11:10:55 -05:00
Lars Müller
21760b0001 r13688: Revert change to set DAT_FILES and SWAT_MSG_FILES in the Makefile.
Instead check for *.dat and *.msg files as done before.  Then added
files are installed and removed as soon as we have some in the
filesystem.  It's simpler and less error prone.
(This used to be commit 5119472cdc)
2007-10-10 11:10:23 -05:00
Lars Müller
9169edfeb4 r13663: make uninstall DESTDIR=/somewhere no longer leaves files. This is done
with the new rules: uninstallservers uninstalldat, uninstallswat (calles
uninstallmsg), uninstallmodules, uninstallclientlib, and
uninstalllibmsrpc.

We still leave directories.  We might try to remove the dirs we created
in reverse order.

The new uninstall scripts are sym links to the respective install
scripts.  Inside we set mode to install or uninstall.

installservers is now used to install the servers.  These are no longer
installed with installbin.
(This used to be commit 43549301b9)
2007-10-10 11:10:21 -05:00
Lars Müller
55ccaee64a r13645: Revert debug output.
(This used to be commit 3a6c9999b4)
2007-10-10 11:10:21 -05:00
Lars Müller
a71e4baaf6 r13644: Do not shift anything inside the for loop away. We ineterate over $@.
(This used to be commit 3aa75f0ff5)
2007-10-10 11:10:20 -05:00
Lars Müller
95faa772c6 r13643: Enable script debug output to get some more details why some hosts
return with !=0 after calling installmodules.sh AUTH_MODULES.
(This used to be commit 5a67b4f5be)
2007-10-10 11:10:20 -05:00
Lars Müller
ca0e155ef0 r13642: Fix install* scripts to use DESTDIR.
Always pass the INSTALLPERMS and DESTDIR as first and second arg to the
scripts.

No longer prepend DESTDIR to the remaining args.

To fix bug #3282 it is important _not_ to prepend DESTDIR to the source
of the sym link pointing to smbmount.
(This used to be commit c38adf7131)
2007-10-10 11:10:20 -05:00
Gerald Carter
0af1500fc0 r13316: Let the carnage begin....
Sync with trunk as off r13315
(This used to be commit 17e63ac4ed)
2007-10-10 11:06:23 -05:00
Gerald Carter
7de55b30b7 r13229: * fix bad comparison caught by the AIX compiler in wbinfo code
* update output from mkversion.sh to include the SAMBA_VENDOR_PATCH
(This used to be commit 485f037094)
2007-10-10 11:06:19 -05:00
Gerald Carter
19907887fc r13093: adding vendor patch level string as announced on samba-technical ml
(This used to be commit d40f06018b)
2007-10-10 11:06:13 -05:00
Gerald Carter
e2de656314 r12990: BUG 3329: patch from David May <mayd@cygnus.uwa.edu.au> for Solaris shell script portability issues in 'make test'
(This used to be commit 19339a9510)
2007-10-10 11:06:09 -05:00
Gerald Carter
67e8af8527 r12393: cleaning up swat bugs. *no one* tests swat it seems. This has been broken since r10656
(This used to be commit 85ea7afd8b)
2007-10-10 11:05:54 -05:00
Gerald Carter
03b77baa6f r12040: merging packaging fixes from release branch
(This used to be commit 47a9f2c3d6)
2007-10-10 11:05:42 -05:00
Gerald Carter
5251618c7f r11761: * fix clearing of event logs by truncating the tdb.
This feature got broken in some of the other updates.
  Now each open handle stores an pointer to an open tdb
  data structure (not the tdb pointer itself).
  Clearing can be done with a simple elog_close_tdb( elog, True )
  to force a close and then calling elog_open_tdb( logname, True )
  to force an tdb truncate.  Permissions on existing tdbs are
  maintained which is important.

* We don't currently handle backup.  Haven't looked at the
  format of a backuped up eventlog to know what the deal is.
(This used to be commit 2df34c9403)
2007-10-10 11:05:26 -05:00
Lars Müller
ba2edc38aa r11728: Ensure to check for the config.log in ${SRCDIR}.
Revert jerry's revert from 11685. :)

At the moment I don't see a way to check if there is an empty
${SMBWRAPPER} or none.  If there is a way to check if ${SMBWRAPPER}
isn't set at all we could make the installman script even work if
config.log does not exist.
(This used to be commit 3e3113a1fa)
2007-10-10 11:05:25 -05:00
Gerald Carter
f8cb37ab19 r11685: reverting Lar's change to nistallman from r11224 since it breaks 'make installman' outside the source tree; will fix up after the rc1 release
(This used to be commit 61e7366e0f)
2007-10-10 11:05:24 -05:00
Lars Müller
580ef1f81e r11224: Add feature to get our configuration from config.log into installman.sh.
This allows us to install for example smbsh.1 only if SMBWRAPPER is set.

Removed also one rm call as we copy and do not append to the same file
in the next step.  There is no file permission risk as we chmod 0644 in
any case later.

Replaced one basename call by shell substitution.
(This used to be commit 3944dfbff4)
2007-10-10 11:05:06 -05:00
Gerald Carter
63937fec90 r11152: fix some regressions caused by the trunk->3.0 merge when install docs with SWAT
(This used to be commit e3c6873866)
2007-10-10 11:05:03 -05:00
Gerald Carter
47e297bc8d r10904: build patches from Marc Balmer <marc@msys.ch> when builddir!=srcdir
(This used to be commit b7fc404518)
2007-10-10 11:04:55 -05:00
Gerald Carter
75a29f80eb r10676: reverting bad merge for install manpages script
(This used to be commit 50549fa9b3)
2007-10-10 11:04:50 -05:00
Gerald Carter
54abd2aa66 r10656: BIG merge from trunk. Features not copied over
* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
(This used to be commit 939c3cb5d7)
2007-10-10 11:04:48 -05:00
Gerald Carter
013ac99a9d r9618: adding get/put tests from Don Watson
(This used to be commit a94de276ae)
2007-10-10 11:03:23 -05:00
Gerald Carter
dffa98b761 r9615: trying a 3 second timeout on smbcontrol
(This used to be commit 4e62a51bf6)
2007-10-10 11:03:22 -05:00
Gerald Carter
78f6ccebc5 r9613: remove TMPDIR from 'make test' scripts (after comments by Don Watson)
(This used to be commit 0626bb6841)
2007-10-10 11:03:22 -05:00
Gerald Carter
38d08ad68c r9585: update test #1
(This used to be commit 7a150ffde5)
2007-10-10 11:03:22 -05:00
Gerald Carter
e2a5b7da6a r9583: ensure that Samba was with with --enable-socket-wrapper for running 'make test'
(This used to be commit 019155e748)
2007-10-10 11:01:13 -05:00
Gerald Carter
024a46c8fa r9562: successfully get the samba 3 smbtorture working (as a test case for infrastructre)
(This used to be commit c64f5666b8)
2007-10-10 11:01:13 -05:00
Gerald Carter
35f12fd94d r9548: more additions to make test; better checks for starting and stopping smbd
(This used to be commit dbaaf81cec)
2007-10-10 11:01:12 -05:00