summaryrefslogtreecommitdiff
path: root/python/samba/tests/samba_tool/computer_edit.sh
AgeCommit message (Collapse)AuthorFilesLines
2023-02-20python:tests: Use a random machine name for computer_edit.sh testAndreas Schneider1-12/+14
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15308 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-02-20python:tests: Correctly escape $ in computer_edit.shAndreas Schneider1-2/+2
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15308 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-12-23python:tests: Use system ldbsearch if we build with system libldbAndreas Schneider1-1/+4
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2022-03-03python: Reformat shell scriptsAndreas Schneider1-29/+41
shfmt -f python/ | xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-04-13python:tests:samba_tool: create temporary files under $SELFTEST_TMPDIRStefan Metzmacher1-1/+1
Tests should not create files in the build nor the source directory! Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2019-11-29samba-tool tests: re-add tests for attribute value verification using samba-toolBjörn Baumbach1-0/+7
Signed-off-by: Björn Baumbach <bb@sernet.de> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2019-11-29samba-tool tests: prepare tests for new samba-tool functionalityBjörn Baumbach1-3/+2
Use ldbsearch instead of "samba-tool user show" to get base64 encoded attribute. Used to verify that the attribute value has been changed successfully. Signed-off-by: Björn Baumbach <bb@sernet.de> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2019-11-29samba-tool tests: remove duplicate definitions of test functionsBjörn Baumbach1-6/+0
Signed-off-by: Björn Baumbach <bb@sernet.de> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2019-07-04samba-tool tests: add test for 'samba-tool computer edit' commandBjörn Baumbach1-0/+180
Signed-off-by: Björn Baumbach <bb@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>