|
3340 | 3340 | # Test dumping a non-existent schema, table, and patterns with --strict-names |
3341 | 3341 |
|
3342 | 3342 | command_fails_like( |
3343 | | -[ 'pg_dump', '-p', "$port", '-n', 'nonexistant' ], |
| 3343 | +[ 'pg_dump', '-p', "$port", '-n', 'nonexistent' ], |
3344 | 3344 | qr/\Qpg_dump: error: no matching schemas were found\E/, |
3345 | 3345 | 'dumping a non-existent schema'); |
3346 | 3346 |
|
3347 | 3347 | command_fails_like( |
3348 | | -[ 'pg_dump', '-p', "$port", '-t', 'nonexistant' ], |
| 3348 | +[ 'pg_dump', '-p', "$port", '-t', 'nonexistent' ], |
3349 | 3349 | qr/\Qpg_dump: error: no matching tables were found\E/, |
3350 | 3350 | 'dumping a non-existent table'); |
3351 | 3351 |
|
3352 | 3352 | command_fails_like( |
3353 | | -[ 'pg_dump', '-p', "$port", '--strict-names', '-n', 'nonexistant*' ], |
| 3353 | +[ 'pg_dump', '-p', "$port", '--strict-names', '-n', 'nonexistent*' ], |
3354 | 3354 | qr/\Qpg_dump: error: no matching schemas were found for pattern\E/, |
3355 | 3355 | 'no matching schemas'); |
3356 | 3356 |
|
3357 | 3357 | command_fails_like( |
3358 | | -[ 'pg_dump', '-p', "$port", '--strict-names', '-t', 'nonexistant*' ], |
| 3358 | +[ 'pg_dump', '-p', "$port", '--strict-names', '-t', 'nonexistent*' ], |
3359 | 3359 | qr/\Qpg_dump: error: no matching tables were found for pattern\E/, |
3360 | 3360 | 'no matching tables'); |
3361 | 3361 |
|
|