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

299 Commits

Author SHA1 Message Date
James Peach
e0055ce8f5 r16289: Fix smbclient test hang. This is caused by readline refusing to believe
the end of file it receives when reading from a pipe after we force
interactive mode.
(This used to be commit 3eee126458)
2007-10-10 11:17:31 -05:00
James Peach
ae2fb4f109 r16273: Add smbclient tests to verify that
in interactive mode, smbclient always prompts on stdout
        in non-interactive mode, smbclient never prompts
(This used to be commit dff1eba81e)
2007-10-10 11:17:30 -05:00
Alexander Bokovoy
21706838f5 r16138: By default, rootsbindir relies on SBINDIR so import it here
(This used to be commit a18af427d7)
2007-10-10 11:17:22 -05:00
Alexander Bokovoy
c403a5525c r16136: By default, rootsbindir relies on SBINDIR so import it here
(This used to be commit 5ffb424641)
2007-10-10 11:17:22 -05:00
Gerald Carter
7112413350 r16130: fix a shell portability issue for Solaris sh in installman.sh
(This used to be commit 9be3e07884)
2007-10-10 11:17:22 -05:00
Stefan Metzmacher
fd1b550851 r16025: make sure the samba4's smbtorture can be executed
metze
(This used to be commit bed220afb8)
2007-10-10 11:17:18 -05:00
Stefan Metzmacher
5c9e031adb r15989: try to make timelimit.c more portable
Patch from Bjoern Jacke (Thanks!)

metze
(This used to be commit b9d1440f46)
2007-10-10 11:17:17 -05:00
Stefan Metzmacher
92307d5b17 r15967: enable RAW-OPLOCK in samba3 make test
metze
(This used to be commit 6d35268639)
2007-10-10 11:17:15 -05:00
Volker Lendecke
4c411c9bb9 r15924: Ok, the Solaris fix broke AIX. Next try :-)
Volker
(This used to be commit 53bd3fa30a)
2007-10-10 11:17:13 -05:00
Volker Lendecke
096061c212 r15918: Attempt to bring Solaris into make test. The Solaris shell does not like the
isolated !.

Metze, can you check this?

Thanks,

Volker
(This used to be commit c9542c64ce)
2007-10-10 11:17:13 -05:00
Volker Lendecke
9b19549fd6 r15917: Activate RPC-AUTHCONTEXT in "make test"
(This used to be commit 17f701ab4f)
2007-10-10 11:17:13 -05:00
Jim McDonough
b4f96abf0a r15873: Use short signal names to placate ksh trap. bash seems to accept either
and even uses them on the manpage.  this should now enable make test on
AIX.
(This used to be commit de836d2077)
2007-10-10 11:17:11 -05:00
Jim McDonough
78d733e667 r15872: Take one step toward getting this working on AIX. the [-z ] stuff
doesn't work there.
(This used to be commit 0ee78d96d9)
2007-10-10 11:17:11 -05:00
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