summaryrefslogtreecommitdiffstats
path: root/source3/script
Commit message (Collapse)AuthorAgeFilesLines
...
* test_smbclient_tarmode.pl: add nested dirs testAurélien Aptel2013-11-051-5/+8
| | | | | | | | add a test to check that the backup handles nested directories. Signed-off-by: Aurélien Aptel <aurelien.aptel@gmail.com> Reviewed-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jim McDonough <jmcd@samba.org>
* test_smbclient_tarmode.pl: refactored file related function to a File packageAurélien Aptel2013-11-051-155/+194
| | | | | | | | | all the localpath(), remotepath() and all file related functions were getting out of hand. The tests are now simpler to write. Signed-off-by: Aurélien Aptel <aurelien.aptel@gmail.com> Reviewed-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jim McDonough <jmcd@samba.org>
* test_smbclient_tarmode.pl: add test for "newer than" (`N` flag)Aurélien Aptel2013-11-051-1/+45
| | | | | | | | | add test for the N FILE flag which makes smbclient only backup files newer or as new as FILE. Signed-off-by: Aurélien Aptel <aurelien.aptel@gmail.com> Reviewed-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jim McDonough <jmcd@samba.org>
* test_smbclient_tarmode.pl: add test for reset modeAurélien Aptel2013-11-051-6/+52
| | | | | | | | | add a new test for the reset mode which can be triggered via `-a` or `tarmode reset`. Signed-off-by: Aurélien Aptel <aurelien.aptel@gmail.com> Reviewed-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jim McDonough <jmcd@samba.org>
* test_smbclient_tarmode.pl: improve incremental testAurélien Aptel2013-11-051-2/+5
| | | | | | | | | instead of using archived and non-archived files for the test, use archive and various flags (system, hidden, readonly). Signed-off-by: Aurélien Aptel <aurelien.aptel@gmail.com> Reviewed-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jim McDonough <jmcd@samba.org>
* test_smbclient_tarmode.pl: add proper argument parsing for configuration.Aurélien Aptel2013-11-051-50/+94
| | | | | | | | documentation is included in the script in POD format. Signed-off-by: Aurélien Aptel <aurelien.aptel@gmail.com> Reviewed-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jim McDonough <jmcd@samba.org>
* initial commit of the new tarmode test script.Aurélien Aptel2013-11-051-0/+367
| | | | | | | | | This script will hopefully replace and improve test_smbclient_tarmode.sh. Right now it only does normal and incremental tests. Signed-off-by: Aurélien Aptel <aurelien.aptel@gmail.com> Reviewed-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jim McDonough <jmcd@samba.org>
* selftest: include "state directory" in invalid parameters in registry ↵Michael Adam2013-09-241-0/+1
| | | | | | | roundtrip test Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* selftest: add "state directory" to the forbidden parameters test in net confMichael Adam2013-09-241-1/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* selftest: add regression test for setting invalid parameters in registry ↵Michael Adam2013-09-241-0/+49
| | | | | | | config via "net [rpc] conf" Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* selftest: update SED_INVALID_PARAMS in the registry.roundtrip testMichael Adam2013-09-241-12/+6
| | | | | | | and add an explaining comment. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* selftest: remove unused variables (copy'n'paste...) from test_net_conf.shMichael Adam2013-09-241-19/+0
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: Remove unused mkbuildoptions.awkAndrew Bartlett2013-05-281-275/+0
| | | | | | | | | | This is not used by the waf build. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* build: Remove unused linkmodules.sh scriptAndrew Bartlett2013-05-281-12/+0
| | | | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* build: Remove unused revert.sh scriptAndrew Bartlett2013-05-281-18/+0
| | | | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* build: Remove unused uninstall*.sh scriptsAndrew Bartlett2013-05-288-158/+0
| | | | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* build: Remove unused install*.sh scriptsAndrew Bartlett2013-05-287-380/+0
| | | | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* build: Remove unused build_idl.shAndrew Bartlett2013-05-281-60/+0
| | | | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* build: Remove unused script/mkversion.shAndrew Bartlett2013-05-281-150/+0
| | | | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* build: Install smbtar in waf buildAndrew Bartlett2013-05-271-0/+7
| | | | | | | Reviewed-by: Kai Blin <kai@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon May 27 12:55:05 CEST 2013 on sn-devel-104
* build: Remove mkinstalldirsAndrew Bartlett2013-05-271-38/+0
| | | | | | | | This is not used in the waf build. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
* build: Remove unused expand-includes.plAndrew Bartlett2013-05-271-30/+0
| | | | | | | | We no longer have makefiles with includes. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
* swat: Remove swat.Kai Blin2013-05-183-362/+0
| | | | | | | | Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Sat May 18 16:32:38 CEST 2013 on sn-devel-104
* vfs_catia: testcase - add missing piecesGuenter Kukkukk2013-03-121-5/+11
| | | | | | | | Signed-off-by: Guenter Kukkukk <kukks@samba.org> Reviewed-by: Richard Sharpe <realrichardsharpe@samba.org> Autobuild-User(master): Richard Sharpe <sharpe@samba.org> Autobuild-Date(master): Tue Mar 12 07:36:13 CET 2013 on sn-devel-104
* vfs_catia: testcase - implement vfstest additionsGuenter Kukkukk2013-03-113-0/+100
| | | | | Signed-off-by: Guenter Kukkukk <kukks@samba.org> Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
* Regression test for bug #9587 - archive flag is always set on directories.Jeremy Allison2013-01-251-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
* test: dbwrap_tool requires --persistent for the registry nowVolker Lendecke2013-01-152-2/+2
| | | | | | | Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Jan 15 16:31:35 CET 2013 on sn-devel-104
* selftest: show that Samba honours "write list" and valid usersAndrew Bartlett2013-01-092-2/+10
| | | | | Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:selftest: extend sids2xids test script to cope with "ID_TYPE_BOTH mappingsMichael Adam2012-12-031-1/+1
| | | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Mon Dec 3 10:47:17 CET 2012 on sn-devel-104
* s3:test:wbinfo_sids2xids: test the results with singular calls with filled ↵Michael Adam2012-12-032-11/+29
| | | | | | | and with empty cache Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:test: fix intialization of WBINFO in test_wbinfo_sids2xids.shMichael Adam2012-12-031-1/+1
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* Add regression test for bug #9329 - Directory listing with SeBackup can ↵Jeremy Allison2012-10-311-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
* source3/script: fix installman.sh after the last build-manpages-nogit changeMichael Adam2012-09-181-2/+2
| | | | | | | | | | | | | | commit cfdab79729e8507a7504b0224c60454d3bc40ffc Author: Michael Adam <obnox@samba.org> Date: Wed Sep 12 15:46:35 2012 +0200 release-scripts: let build-manpages-nogit store generated docs under ./bin/docs not under ./docs Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* selftest: Add test of smbclient --machine-pass against and using both s3 and s4Andrew Bartlett2012-08-281-0/+21
| | | | | | This uses both smbclient binaries to ensure that both work in both environments. Andrew Bartlett
* s3-torture: Allow vfstest to set ACLs on a directoryAndrew Bartlett2012-08-171-0/+9
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Aug 17 02:35:49 CEST 2012 on sn-devel-104
* s3-selftest: Add a seperate test for ACL tests using vfstestAndrew Bartlett2012-08-162-0/+58
| | | | | | | | | | | This does not check for consistency or correctness yet, that will be done with python unit tests. The purpose of this test is to ensure that the vfstest wrapper doesn't crash. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Aug 16 09:32:25 CEST 2012 on sn-devel-104
* selftest: Extend xattr-tdb-1 vfstest to call statAndrew Bartlett2012-08-161-0/+1
|
* s3-selftest: convert xattr-tdb-1 vfstest driver into a subunit testAndrew Bartlett2012-08-162-10/+50
| | | | | | | | | | | We don't use the simple smb.conf because we need to override all the paths for this to work as non-root without a panic, so we use the s3dc environment, which already loads this module. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Aug 16 02:55:19 CEST 2012 on sn-devel-104
* s3-selftest: convert stream_depot vfstest driver into a subunit testAndrew Bartlett2012-08-162-10/+32
| | | | | | | | | | This gives us our first automated coverage of the vfstest binary. We don't use the simple smb.conf because we need to override all the paths for this to work as non-root without a panic, so we use the s3dc environment, which already loads this module. Andrew Bartlett
* s3-selftest: Add smbclient tarmode testSalvador I. Gonzalez2012-08-141-0/+181
| | | | | | (With small changes to have test complete by Andrew Bartlett) Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-selftest: Fix copy/paste error in test usage stringSalvador I. Gonzalez2012-08-141-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* mkversion: Remove quotes around SAMBA_VERSION_VENDOR_PATCH stringRalph Wuerthner2012-07-121-1/+1
| | | | | | | | | | This fixes a build error in source3/smbd/trans2.c when SAMBA_VERSION_VENDOR_PATCH is set (as integer value). Signed-off-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Thu Jul 12 04:03:08 CEST 2012 on sn-devel-104
* s3:test_net_registry_check.sh: grep -E isn't portable, use egrepBjörn Jacke2012-06-271-1/+1
| | | | | | | grep -E doesn't work on Solaris /usr/bin/grep e.g. Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Wed Jun 27 02:18:07 CEST 2012 on sn-devel-104
* s3:test_registry_upgrade: make more portable and eliminate "local" keywordBjörn Jacke2012-06-261-6/+6
| | | | prefer to use function syntax with (...) to make variables local
* s3:test_net_registry_check: eliminate "local" keyword in shellBjörn Jacke2012-06-261-15/+15
| | | | | | | prefer to use function syntax with (...) to make variables local Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Tue Jun 26 00:32:11 CEST 2012 on sn-devel-104
* s3:test: make shell code more porable by elimnating "local" keywordBjörn Jacke2012-06-251-4/+4
| | | | | | | don't use "local". That is BASH only. Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Mon Jun 25 19:02:13 CEST 2012 on sn-devel-104
* s3/test: make dd call more portableBjörn Jacke2012-06-101-1/+1
| | | | | | | using multiplicative suffixes like K, M etc. in dd isn't portable Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sun Jun 10 23:29:42 CEST 2012 on sn-devel-104
* VERSION: prepare for beta1 by setting and parsing the beta versionAndrew Bartlett2012-06-051-0/+4
|
* s3-iconv: Remove unused script/gen-8bit-gap.shAndrew Bartlett2012-05-304-153/+0
| | | | | | | We decided to rely on a system iconv rather than these modules. Andrew Bartlett
* build: Move generated version.h to a waf-invisible locationAndrew Bartlett2012-05-181-1/+1
| | | | | | | Generally, it is better if our generated header files for the autoconf build do not end up in places that the waf build can see. Andrew Bartlett