source3/script/tests/test_net_registry_roundtrip.sh:51:2: error: Double
quote array expansions to avoid re-splitting elements. [SC2068]
source3/script/tests/test_net_registry_roundtrip.sh:55:16: error:
Argument mixes string and array. Use * or separate argument. [SC2145]
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
conf_roundtrip_step()
{
echo "CMD: $*" >>$LOG
- $@ 2>>$LOG
+ "$@" 2>>$LOG
RC=$?
echo "RC: $RC" >>$LOG
test "x$RC" = "x0" || {
- echo "ERROR: $@ failed (RC=$RC)" | tee -a $LOG
+ echo "ERROR: $* failed (RC=$RC)" | tee -a $LOG
}
return $RC
# echo -n .