Skip to content

Commit

Permalink
Add new tests for unbalanced hostrange nodenames
Browse files Browse the repository at this point in the history
  • Loading branch information
chu11 committed Feb 24, 2014
1 parent ec00f27 commit 386eac7
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2014-02-24 Albert Chu <[email protected]>

* src/testsuite/: Add new tests for unbalanced hostrange
nodenames.

2013-08-02 Albert Chu <[email protected]>

* src/libcommon/hostlist.c (_parse_single_range): Comment out
Expand Down
1 change: 1 addition & 0 deletions src/testsuite/libgenders/genders_test_database.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ genders_parse_error_database_t genders_parse_error_databases[] =
{"testdatabases/genders.parse_error_no_value_after_equal_sign", 6},
{"testdatabases/genders.parse_error_errant_commas", 5},
{"testdatabases/genders.parse_error_all", 8},
{"testdatabases/genders.parse_error_hostrange_unbalanced", 10},
{NULL, -1},
};

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
node[1 attr1,attr2=val2
node2] attr1,attr2=val2
node[[3] attr1,attr2=val2
node[4]] attr1,attr2=val2
node[[5]] attr1,attr2=val2

node[6-7 attr1,attr2=val2
node8-9] attr1,attr2=val2
node[[10-11] attr1,attr2=val2
node[12-13]] attr1,attr2=val2
node[[14-15]] attr1,attr2=val2

0 comments on commit 386eac7

Please sign in to comment.