generator: Passing "" to StringList tests should turn into empty list.
authorRichard Jones <rjones@redhat.com>
Tue, 24 Nov 2009 14:04:28 +0000 (14:04 +0000)
committerRichard Jones <rjones@redhat.com>
Tue, 24 Nov 2009 16:01:11 +0000 (16:01 +0000)
commitb017cd67bb56284d05fc168d2b3536bee55b9ebf
tree2d07b075c94796877fab912f05ad95a517ece8fa
parent6b2c7a23b6c2d81c9e1825e8eb88ab446f63bf94
generator: Passing "" to StringList tests should turn into empty list.

This is a bug in the generator which wasn't being tickled.  If
you had a test which expected a StringList or DeviceList parameter,
and you passed "" to that test, then you'd (probably) expect to be
testing an empty list, but in fact you got a single element list
containing an empty string.  This fixes it so you get an empty list.
src/generator.ml