X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests%2Fnew-exp.right;h=95f16d99302f1ec95fc0440224f02240fb5c606c;hb=refs%2Ftags%2Fdevel-base-dist;hp=db66ab042c8090cc5072aca8c2c0e1cb4dd147e5;hpb=f73dda092b33638d2d5e9c35375f687a607b5403;p=platform%2Fupstream%2Fbash.git diff --git a/tests/new-exp.right b/tests/new-exp.right index db66ab0..95f16d9 100644 --- a/tests/new-exp.right +++ b/tests/new-exp.right @@ -3,7 +3,7 @@ argv[1] = argv[1] = argv[1] = argv[1] = -./new-exp.tests: HOME: }: syntax error: operand expected (error token is "}") +./new-exp.tests: line 24: HOME: }: syntax error: operand expected (error token is "}") unset argv[1] = argv[1] = @@ -12,8 +12,8 @@ argv[1] = argv[1] = argv[1] = argv[1] = -argv[1] = <*@*> -argv[1] = <*@*> +argv[1] = <*@> +argv[1] = <*@> argv[1] = <@*> argv[1] = <)> argv[1] = <")"> @@ -59,8 +59,8 @@ argv[1] = <4> argv[1] = argv[1] = argv[1] = -./new-exp.tests: ABX: unbound variable -./new-exp.tests: $6: cannot assign in this way +./new-exp.tests: line 172: ABX: unbound variable +./new-exp.tests: line 176: $6: cannot assign in this way argv[1] = argv[1] = argv[1] = @@ -162,11 +162,11 @@ lines. This-string-has-multiple-lines. this is a test of proc subst this is test 2 -./new-exp2.sub: /tmp/bashtmp.x*: No such file or directory -./new-exp2.sub: /tmp/redir-notthere: No such file or directory +./new-exp2.sub: line 31: /tmp/bashtmp.x*: No such file or directory +./new-exp2.sub: line 35: /tmp/redir-notthere: No such file or directory 1 argv[1] = <6> -./new-exp.tests: ${#:}: bad substitution +./new-exp.tests: line 277: ${#:}: bad substitution argv[1] = <'> argv[1] = <"> argv[1] = <"hello"> @@ -233,7 +233,7 @@ argv[1] = argv[1] = argv[1] = argv[1] = -./new-exp.tests: -2: substring expression < 0 +./new-exp.tests: line 421: -2: substring expression < 0 argv[1] = argv[1] = argv[1] = @@ -395,13 +395,13 @@ argv[6] = argv[7] = argv[8] = argv[9] = -./new-exp.tests: $9: unbound variable -./new-exp.tests: 9: unbound variable -./new-exp.tests: UNSET: unbound variable -./new-exp.tests: UNSET: unbound variable -./new-exp.tests: UNSET: unbound variable -./new-exp.tests: UNSET: unbound variable -./new-exp.tests: UNSET: unbound variable +./new-exp.tests: line 480: $9: unbound variable +./new-exp.tests: line 481: 9: unbound variable +./new-exp.tests: line 482: UNSET: unbound variable +./new-exp.tests: line 483: UNSET: unbound variable +./new-exp.tests: line 484: UNSET: unbound variable +./new-exp.tests: line 485: UNSET: unbound variable +./new-exp.tests: line 486: UNSET: unbound variable argv[1] = <5> argv[1] = <#> argv[1] = <#> @@ -419,10 +419,10 @@ argv[4] = <_QUILL> argv[5] = <_QUOTA> argv[6] = <_QUOTE> argv[1] = <_QUANTITY-_QUART-_QUEST-_QUILL-_QUOTA-_QUOTE> -./new-exp3.sub: ${!_Q* }: bad substitution -./new-exp3.sub: ${!1*}: bad substitution -./new-exp3.sub: ${!@*}: bad substitution -./new-exp.tests: ${$(($#-1))}: bad substitution +./new-exp3.sub: line 19: ${!_Q* }: bad substitution +./new-exp3.sub: line 24: ${!1*}: bad substitution +./new-exp3.sub: line 26: ${!@*}: bad substitution +./new-exp.tests: line 503: ${$(($#-1))}: bad substitution argv[1] = argv[2] = argv[3] = @@ -439,5 +439,36 @@ argv[1] = argv[1] = argv[2] = argv[1] = <> -./new-exp.tests: $(($# - 2)): substring expression < 0 -./new-exp.tests: ABXD: parameter unset +./new-exp.tests: line 522: $(($# - 2)): substring expression < 0 +argv[1] = +argv[2] = +argv[3] = +argv[4] = +argv[5] = <.> +argv[6] = +argv[7] = +argv[1] = +argv[2] = +argv[3] = +argv[4] = +argv[5] = +argv[6] = +argv[1] = +argv[2] = +argv[3] = +argv[4] = +argv[5] = <.> +argv[6] = +argv[7] = +argv[1] = +argv[2] = +argv[3] = +argv[4] = +argv[5] = <.> +argv[6] = +argv[7] = +argv[1] = +argv[1] = +argv[1] = +argv[1] = +./new-exp.tests: line 542: ABXD: parameter unset