File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -690,20 +690,23 @@ EOF
690690# Test 76: sanitize_database_name removes dangerous characters
691691@test " sanitize_database_name removes dangerous characters" {
692692 run sanitize_database_name " test-database.name"
693+ echo " $output "
693694 [ " $status " -eq 0 ]
694695 [[ " $output " == " testdatabasename" ]]
695696}
696697
697698# Test 77: sanitize_database_name rejects name with starting with number
698699@test " sanitize_database_name rejects name starting with number" {
699700 run sanitize_database_name " 1test_database"
701+ echo " $output "
700702 [ " $status " -eq 1 ]
701703 [[ " $output " == * " Invalid database name" * ]]
702704}
703705
704706# Test 78: sanitize_database_name rejects name with spaces
705707@test " sanitize_database_name rejects name with spaces" {
706708 run sanitize_database_name " test database"
709+ echo " $output "
707710 [ " $status " -eq 1 ]
708711 [[ " $output " == * " Invalid database name" * ]]
709712}
You can’t perform that action at this time.
0 commit comments