Description
Submitted by: @WarmBooter
Typo in gbak's command line parameter causes Firebird process to crash, ie:
gbak -c -v -se service_mgr -user_all_space d:\backup.gbk d:\bd.fdb
gbak:unknown switch "USER_ALL_SPACE"
gbak: ERROR:connection lost to database
gbak:Exiting before completion due to errors
Commits: 95d187c FirebirdSQL/fbt-repository@b2e33a2
====== Test Details ======
Confirmed crash on 2.5.5.26952, but only when use 'gbak' utility (with services call).
As of fbsvcmgr, it works correct and reports error: Unknown switch "res_user_all_space".
Output when use gbak is:
gbak:unknown switch "USER_ALL_SPACE"
gbak: ERROR:Unable to complete network request to host "localhost".
gbak: ERROR: Error reading data from the connection.
gbak:Exiting before completion due to errors
Checked on WI-V2.5.6.26962 - works OK.
No test needed for 3.0 thus only stub code present here in 'firebird_version': '3.0' section.