summaryrefslogtreecommitdiff
path: root/source3/script/tests/test_smbclient_s3.sh
AgeCommit message (Collapse)AuthorFilesLines
2013-01-25Regression test for bug #9587 - archive flag is always set on directories.Jeremy Allison1-0/+186
Ensure we get the correct attributes on files and directories after a rename. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Fri Jan 25 13:42:40 CET 2013 on sn-devel-104
2013-01-09selftest: show that Samba honours "write list" and valid usersAndrew Bartlett1-2/+6
Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-10-31Add regression test for bug #9329 - Directory listing with SeBackup can ↵Jeremy Allison1-3/+59
crash smbd. Ensure we exercise the SeBackup code path on directory listings. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Wed Oct 31 03:21:38 CET 2012 on sn-devel-104
2011-09-13s3-selftest use a more portable shell syntaxAndrew Bartlett1-10/+10
"$10" evaulates to $1 and 0, not the 10th argument. Thanks to Amitay for pointing this out! Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Sep 13 09:34:49 CEST 2011 on sn-devel-104
2011-09-12s3-selftest: Set path to bin/net and bin/wbinfo in command line to test scriptsAndrew Bartlett1-3/+4
This makes it easier to reproduce these tests outside the test environment, as we rely less on environment variables. Andrew Bartlett
2011-07-29selftest: explain how the message command test worksAndrew Bartlett1-0/+1
2011-07-06s3:test: catch more errors in test_access_check() in the smbclient_s3 testMichael Adam1-0/+16
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Jul 6 14:07:13 CEST 2011 on sn-devel-104
2011-06-24s3:test: fix the smbclient_s3 test on older systemsMichael Adam1-1/+1
mktemp requires precisely six Xs at the end of the template name
2011-06-09s3-selftest Add test for smbclient --authentication-fileAndrew Bartlett1-8/+50
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Jun 9 13:49:59 CEST 2011 on sn-devel-104
2011-06-09s3-selftest Add a test for 'message command'Andrew Bartlett1-0/+48
This also provides us a way to test that the -n option to smbclient works, as that becomes part of the filename. Andrew Bartlett
2011-04-16selftest Add binary mappings for samba3 selftestAndrew Bartlett1-3/+4
This will help us have a top level 'make test', working around the fact that the --eanble-s3build has different names for some of these binaries, without fixing the names forever (we can just change the mapping later). Andrew Bartlett
2011-04-04s3-selftest Remove more instances of /tmp in test_smbclient_s3.shAndrew Bartlett1-4/+4
2011-03-29s3-selftest unconditionaly include subunit.shAndrew Bartlett1-2/+0
we no longer . this file into other shell scripts, so we don't need this check any more. Andrew Bartlett
2011-02-28s3:test: fix smbclient test on older systems (usage of mktemp)Michael Adam1-1/+1
--tmpdir is not a valid option to mktemp on older systems Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Feb 28 18:12:46 CET 2011 on sn-devel-104
2011-02-22s3-selftest convert tests.sh to pythonAndrew Bartlett1-13/+13
This should allow us a much better chance of invoking the subunit wrappers in the right way, at the right level. Andrew Bartlett
2011-02-22s3-tests use $PREFIX to ensure tests don't work outside the test areaAndrew Bartlett1-5/+6
Andrew Bartlett
2011-02-22Add tests for various s3 auth modesAndrew Bartlett1-1/+1
2011-02-21s3:tests: move the log directory of the smbclient_s3 test to st/Michael Adam1-7/+8
And use a proper mktemp call to create a unique name. The old location under /tmp/ was bad. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Feb 21 13:39:06 CET 2011 on sn-devel-104
2011-02-19s3:tests: fix the smbclient_s3 test for multiple users running it.Michael Adam1-2/+16
The test created /tmp/log.smbclient, which lets the test fail if two users are running the test simultaneously. Now /tmp/log.test_smbclient_s3.$$ is used. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Feb 19 13:06:57 CET 2011 on sn-devel-104
2011-02-19s3:tests: use the blackbox subunit output formatter for the smbclient_s3 test.Michael Adam1-2/+2
With the old output, failures would go unnoticed by selftest.
2010-12-02tests: avoid bash in shebang and fix wrong "==" in testBjörn Jacke1-1/+1
2010-04-19s3: Test for wb ccache access by smbclientVolker Lendecke1-0/+33
2010-04-13Add basic DFS tests.Jeremy Allison1-0/+74
Jeremy.
2010-03-11Improve symlink delete test. Make sure we don't delete the link target by ↵Jeremy Allison1-7/+19
mistake. Jeremy.
2010-03-10Added regression test for bug #7234 - Symlink delete fails but incorrectly ↵Jeremy Allison1-3/+45
reports success. Ensure we can delete a symlink by path. Jeremy.
2010-03-09Fix the shell script in the root case. When run as root, make test now ↵Jeremy Allison1-4/+4
detects CAP_DAC_OVERRIDE being left on in error. Jeremy.
2010-03-09Add tests which, when run as root, will ensure we can't writeJeremy Allison1-3/+125
into a read-only directory, or read a owner-read-only file. Jeremy.
2009-10-17Fix posix_unlink test. Was doing grep without quotes around theJeremy Allison1-3/+4
target string. Jeremy.
2009-10-17Trying to find out why the posix_unlink test build farm is still failing evenJeremy Allison1-1/+1
though we're now successfully deleting the symlink. Jeremy.
2009-10-16Fix one missing STAT -> LSTAT with POSIX pathnames in vfs_xattr_tdb.c. ↵Jeremy Allison1-0/+2
Caught by the torture tester. I love unit tests :-). Jeremy.
2009-10-06Test creating and deleting a bad symlink using the POSIX calls. EnsureJeremy Allison1-0/+42
we don't regress on bug 6769. Jeremy.
2009-01-30s3:tests: add a guard arround . $incdir/test_functions.shStefan Metzmacher1-0/+2
So that caller can overwrite the functions. metze
2009-01-29s3:seltest: make test_smbclient_s3.sh more strictStefan Metzmacher1-12/+31
metze
2008-01-04Try and fix the buildfarm. There's a scripting error andJeremy Allison1-1/+1
I'm hoping this is it... Jeremy. (This used to be commit 0356f0efc4a18230ce7a9c0a17dc98c4242ad38d)
2008-01-04Better way of testing enc.Jeremy Allison1-3/+5
Jeremy. (This used to be commit c5800235018330f0c1bbe307cd733597ac9b6686)
2007-12-29Attempt to fix the AIX make test failuresVolker Lendecke1-3/+3
For some reason AIX does not return the sender address in the AF_UNIX recvfrom. So the faked netbios name lookup does not work with socket wrapper, nmbd can't know where to send the reply. This patch works around this by telling smbclient explicitly where to connect. If there's any AIX experts listening -- how do I get the sender address from AF_UNIX recvfrom? Volker (This used to be commit 8ba3b8cf7aca657ad8426981d810c36ee6a34a2f)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter1-18/+4
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25415: Merge the 3.2-perltest branch that switches Samba 3.2 to use Samba ↵Jelmer Vernooij1-4/+18
4's selftest code. See the mailing list for details. (This used to be commit bdc831ddb3a860676c36bbd89e6f748946df68a1)
2007-10-10r19168: use the correct configurationStefan Metzmacher1-4/+4
metze (This used to be commit bf90ac567fc809bb8949b066e822a88170b73ac5)
2007-10-10r17934: allow srcdir != builddir for 'make test'Gerald Carter1-1/+1
(This used to be commit 70f223554922947a17e81f1002b184db879a2195)
2007-10-10r16289: Fix smbclient test hang. This is caused by readline refusing to believeJames Peach1-3/+11
the end of file it receives when reading from a pipe after we force interactive mode. (This used to be commit 3eee12645883df21efa5175b10854a965fc90422)
2007-10-10r16273: Add smbclient tests to verify thatJames Peach1-2/+56
in interactive mode, smbclient always prompts on stdout in non-interactive mode, smbclient never prompts (This used to be commit dff1eba81ed4bdd6dbf2df6e7c28b0da74a39615)
2007-10-10r14678: - we need to use 127.0.0.2/8 as interface for the serverStefan Metzmacher1-0/+23
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 835f8f4339f41619ec890e38569b745c5ef5d44e)