File: invalid.feature

package info (click to toggle)
osm2pgsql 2.1.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 6,652 kB
  • sloc: cpp: 59,934; python: 1,039; ansic: 763; sh: 25; makefile: 14
file content (24 lines) | stat: -rw-r--r-- 736 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Feature: Errors for invalid command line parameter combinations

    Background:
        Given the OSM data
            """
            n1 Tamenity=restaurant,name=Home x=23 y5.6
            """

    Scenario: create and append cannot be used together
        Then running osm2pgsql pgsql with parameters fails
            | -c | -a |
        And the error output contains
            """
            --append and --create options can not be used at the same time
            """

    Scenario: append can only be used with slim mode
        Then running osm2pgsql pgsql with parameters fails
            | -a |
        And the error output contains
            """
            --append can only be used with slim mode
            """