testprogs/blackbox: Use PYTHON env variable for calling python scripts
[bbaumbach/samba-autobuild/.git] / testprogs / blackbox / renamedc.sh
index 7767d9d68ef5e574d8d9c3a752951d02fc3eec10..31b9c9d4a8e8c4d75bdbfa55ae9ebb1a799cb14a 100755 (executable)
@@ -67,13 +67,13 @@ testrenamedc2() {
 dbcheck_fix() {
         # Unlike most calls to dbcheck --fix, this will not trigger an error, as
         # we do not flag an error count for this old DN string case.
-       $BINDIR/samba-tool dbcheck --cross-ncs -s $PREFIX/renamedc_test/etc/smb.conf --fix \
+       $PYTHON $BINDIR/samba-tool dbcheck --cross-ncs -s $PREFIX/renamedc_test/etc/smb.conf --fix \
                --quiet --yes fix_all_old_dn_string_component_mismatch \
                --attrs="fsmoRoleOwner interSiteTopologyGenerator msDS-NC-Replica-Locations"
 }
 
 dbcheck() {
-       $BINDIR/samba-tool dbcheck --cross-ncs -s $PREFIX/renamedc_test/etc/smb.conf
+       $PYTHON $BINDIR/samba-tool dbcheck --cross-ncs -s $PREFIX/renamedc_test/etc/smb.conf
 }