6 Commits

Author SHA1 Message Date
df3d4a3922 test-suite: Added !#/bin/bash into all test scripts.
Most of the tests will not work in other default shells like
on Freebsd or Solaris. So we make /bin/bash default now.
2015-07-30 15:38:17 +00:00
be940cf970 testbench: made work on FreeBSD
bash "source" extension is not supported in FreeBSD default shell"
2015-07-15 09:33:31 +00:00
Janmejay Singh
c9d7d85d01 Test and fix for "No initialization of action/call statements in body of foreach statement"
(+ added some files which were missed in the commit before, test related to asserting behavior when non-array object is iterated upon)
2015-04-14 08:54:54 +05:30
Rainer Gerhards
c5829f67f3 testbench: automatically call debug helpers on test failure 2015-01-20 15:15:21 +01:00
Janmejay Singh
ef4fcf3016 fixed some relative paths used in tests which were missing srcdir 2014-12-17 11:39:31 +01:00
Janmejay Singh
4ca5e217e2 Adds support for 'reset' statement (it has syntax similar to set 'set', but _unlike_ 'set' always force-sets the given value insteed of conditionally merging it, or not saving it because it is trying to replace an object with a leaf value etc).
Syntax:

reset $.foo = $!bar;

etc.
2014-12-17 11:39:31 +01:00