opnsense-src/tools/regression/bin/sh/expansion
Jilles Tjoelker e9749129ad sh: Detect dividing the smallest integer by -1.
This overflows and on some architectures such as amd64 it generates SIGFPE.
Generate an error on all architectures.
2011-02-12 23:44:05 +00:00
..
arith1.0 sh: arith: Return only 0 and 1 from && and ||. 2009-12-30 15:59:40 +00:00
arith2.0 sh: Remove comment that the comma operator is missing in arithmetic 2010-07-02 21:31:24 +00:00
arith3.0 sh: arith: Add a test for a bug in the dash arith code, 2010-02-17 22:25:22 +00:00
arith4.0 sh: Add test for some associativity in arithmetic. 2010-04-04 16:29:48 +00:00
arith5.0 sh: Add test for nested arithmetic substitution. 2010-04-04 16:48:33 +00:00
arith6.0 sh: Add a test that manipulates various long strings. 2010-11-19 22:25:32 +00:00
arith7.0 sh: Add a test for r216387 (long arithmetic expression in here document). 2010-12-12 16:56:16 +00:00
arith8.0 sh: arith: Disallow decimal constants starting with 0 (containing 8 or 9). 2010-12-18 23:03:51 +00:00
arith9.0 sh: Add tests for new features in arithmetic. 2011-02-08 23:23:55 +00:00
arith10.0 sh: Add tests for new features in arithmetic. 2011-02-08 23:23:55 +00:00
arith11.0 sh: Detect dividing the smallest integer by -1. 2011-02-12 23:44:05 +00:00
assign1.0 sh: Add some testcases for ${v=w}, ${v-w}, ${v+w}. 2010-03-07 18:43:29 +00:00
cmdsubst1.0 sh: Fix some bugs with backquoted builtins: 2010-01-01 18:17:46 +00:00
cmdsubst2.0 sh: Add tests for " and $ inside `. 2010-03-12 23:23:46 +00:00
cmdsubst3.0 sh: Fix corruption of command substitutions with special chars after newline 2010-12-16 23:28:20 +00:00
cmdsubst4.0 sh: Add a testcase for cmdsubst errors that already works properly. 2010-12-27 23:56:03 +00:00
cmdsubst5.0 sh: Make expansion errors in optimized command substitution non-fatal. 2010-12-28 13:28:24 +00:00
cmdsubst6.0 sh: Add test for optimized command substitution. 2010-12-28 14:58:08 +00:00
cmdsubst7.0 sh: Don't do optimized command substitution if expansions have side effects. 2010-12-28 21:27:08 +00:00
cmdsubst8.0 sh: Add two tests for special cases in command substitution that already 2010-12-30 15:04:59 +00:00
cmdsubst9.0 sh: Add two tests for special cases in command substitution that already 2010-12-30 15:04:59 +00:00
cmdsubst10.0 sh: Avoid side effects from builtins in optimized command substitution. 2010-12-30 22:33:55 +00:00
ifs1.0
ifs2.0 sh: Test that all bytes from 1 to 127 can be used in IFS. 2010-08-15 17:14:05 +00:00
ifs3.0 sh: Test that all bytes from 128 to 255 can be used in IFS. 2010-08-22 13:09:12 +00:00
pathname1.0 sh: Add some simple testcases for pathname expansion. 2010-05-11 22:28:55 +00:00
pathname2.0 sh: Fix pathname expansion with quoted slashes like *\/. 2010-05-11 23:19:28 +00:00
pathname3.0 sh: Fix heap-based buffer overflow in pathname generation. 2010-08-10 22:45:59 +00:00
pathname4.0 sh: Remove remnants of '!!' to negate pattern. 2010-08-22 21:18:21 +00:00
plus-minus1.0 Restore two commented-out tests from plus-minus1.0 to a new file. 2010-12-27 15:57:41 +00:00
plus-minus2.0 sh: Fix various things about expansions: 2010-04-03 20:55:56 +00:00
plus-minus3.0 sh: Add testcases for double-quotes within quoted ${var+-...} (non-POSIX). 2010-04-18 22:13:45 +00:00
plus-minus4.0 sh: Add more testcases for ${var:-word}. 2010-08-08 17:03:23 +00:00
plus-minus5.0 sh: Only accept a '}' inside ${v+-=?...} if double-quote state matches. 2010-10-28 22:34:49 +00:00
plus-minus6.0 sh: Do IFS splitting on word in ${v+word} and ${v-word}. 2010-10-29 13:42:18 +00:00
plus-minus7.0 Restore two commented-out tests from plus-minus1.0 to a new file. 2010-12-27 15:57:41 +00:00
question1.0 Allow one to regression test 'sh' changes without having to install 2010-10-12 18:20:38 +00:00
set-u1.0 Allow one to regression test 'sh' changes without having to install 2010-10-12 18:20:38 +00:00
set-u2.0 sh: Exempt $@ and $* from set -u 2009-10-24 21:20:04 +00:00
tilde1.0 sh: Fix duplicate variable name in test. 2010-04-03 21:56:24 +00:00
tilde2.0 sh: Do tilde expansion in substitutions. 2010-04-03 22:04:44 +00:00
trim1.0 sh: Add some testcases for the working parts of ${v%...} and ${v#...}. 2010-04-03 20:14:10 +00:00
trim2.0 sh: Allow quoting pattern match characters in ${v%pat} and ${v#pat}. 2010-04-03 21:07:50 +00:00
trim3.0 sh: Add some more tests for ${v#...} and ${v%...}. 2010-04-23 17:26:49 +00:00
trim4.0 Do not assume in growstackstr() that a "precious" character will be 2010-10-13 23:29:09 +00:00
trim5.0 sh: Make double-quotes quote a '}' inside ${v#...} and ${v%...}. 2010-10-28 21:51:14 +00:00
trim6.0 sh: Fix some issues with CTL* bytes and ${var#pat}. 2010-10-29 19:34:57 +00:00