summaryrefslogtreecommitdiff
path: root/source3/script/tests/test_dfree_command.sh
AgeCommit message (Collapse)AuthorFilesLines
2023-04-12s3:script: Always return a non-zero status code on failureJoseph Sutton1-1/+3
If $expected didn't match $received, these functions would still return zero. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org>
2022-08-22s3:script: Fix shellcheck errors in test_dfree_command.shAndreas Schneider1-1/+1
source3/script/tests/test_dfree_command.sh:38:59: error: Double quote array expansions to avoid re-splitting elements. [SC2068] Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
2022-08-17s3:script: Fix variable asignment in test_dfree_command.shAndreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
2022-05-05s3:tests: Reformat test_dfree_command.shAndreas Schneider1-14/+15
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2019-12-05s3/selftest: allow samba3.blackbox.dfree_command run NT1 & SMB3 testsNoel Power1-6/+14
samba3.blackbox.dfree_command was a single test that run both NT1 & SMB3 tests together. This allow the protocol to be passed into the test script so the test can be divided into SMB1 & >=SM2 tests. Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Ralph Boehme <slow@samba.org>
2016-01-06selftest: more dfree command and smbclient disk usage testsUri Simchoni1-5/+12
Add tests that cover disk usage printing by smbclient, as well as passing directory info to the "dfree command" script. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11662 Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Jan 6 03:58:59 CET 2016 on sn-devel-144
2015-07-17selftest: Add test for the dfree commandAndreas Schneider1-0/+51
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Jul 17 22:09:34 CEST 2015 on sn-devel-104