diff options
Diffstat (limited to 'tests/agrep/exitstatus.ok')
-rw-r--r-- | tests/agrep/exitstatus.ok | 705 |
1 files changed, 705 insertions, 0 deletions
diff --git a/tests/agrep/exitstatus.ok b/tests/agrep/exitstatus.ok new file mode 100644 index 0000000000000..28427bbba6c38 --- /dev/null +++ b/tests/agrep/exitstatus.ok @@ -0,0 +1,705 @@ +#### TEST: agrep this-will-be-found exitstatus.in +this-will-be-found + +Exit status 0. +#### TEST: agrep this-will-be-found < exitstatus.in +this-will-be-found + +Exit status 0. +#### TEST: agrep -c this-will-be-found exitstatus.in +1 + +Exit status 0. +#### TEST: agrep -c this-will-be-found < exitstatus.in +1 + +Exit status 0. +#### TEST: agrep -H this-will-be-found exitstatus.in +exitstatus.in:this-will-be-found + +Exit status 0. +#### TEST: agrep -H this-will-be-found < exitstatus.in +(standard input):this-will-be-found + +Exit status 0. +#### TEST: agrep -l this-will-be-found exitstatus.in +exitstatus.in + +Exit status 0. +#### TEST: agrep -l this-will-be-found < exitstatus.in +(standard input) + +Exit status 0. +#### TEST: agrep -n this-will-be-found exitstatus.in +1:this-will-be-found + +Exit status 0. +#### TEST: agrep -n this-will-be-found < exitstatus.in +1:this-will-be-found + +Exit status 0. +#### TEST: agrep -s this-will-be-found exitstatus.in +0:this-will-be-found + +Exit status 0. +#### TEST: agrep -s this-will-be-found < exitstatus.in +0:this-will-be-found + +Exit status 0. +#### TEST: agrep -M this-will-be-found exitstatus.in +this-will-be-found + +Exit status 0. +#### TEST: agrep -M this-will-be-found < exitstatus.in +this-will-be-found + +Exit status 0. +#### TEST: agrep --show-position this-will-be-found exitstatus.in +0-18:this-will-be-found + +Exit status 0. +#### TEST: agrep --show-position this-will-be-found < exitstatus.in +0-18:this-will-be-found + +Exit status 0. +#### TEST: agrep --color this-will-be-found exitstatus.in +[01;31mthis-will-be-found[00m + +Exit status 0. +#### TEST: agrep --color this-will-be-found < exitstatus.in +[01;31mthis-will-be-found[00m + +Exit status 0. +#### TEST: agrep -H -n -s --color --show-position this-will-be-found exitstatus.in +exitstatus.in:1:0:0-18:[01;31mthis-will-be-found[00m + +Exit status 0. +#### TEST: agrep -H -n -s --color --show-position this-will-be-found < exitstatus.in +(standard input):1:0:0-18:[01;31mthis-will-be-found[00m + +Exit status 0. +#### TEST: agrep -v this-will-be-found exitstatus.in +so will this +just some stuff + +Exit status 0. +#### TEST: agrep -v this-will-be-found < exitstatus.in +so will this +just some stuff + +Exit status 0. +#### TEST: agrep -c -v this-will-be-found exitstatus.in +2 + +Exit status 0. +#### TEST: agrep -c -v this-will-be-found < exitstatus.in +2 + +Exit status 0. +#### TEST: agrep -H -v this-will-be-found exitstatus.in +exitstatus.in:so will this +exitstatus.in:just some stuff + +Exit status 0. +#### TEST: agrep -H -v this-will-be-found < exitstatus.in +(standard input):so will this +(standard input):just some stuff + +Exit status 0. +#### TEST: agrep -l -v this-will-be-found exitstatus.in +exitstatus.in + +Exit status 0. +#### TEST: agrep -l -v this-will-be-found < exitstatus.in +(standard input) + +Exit status 0. +#### TEST: agrep -n -v this-will-be-found exitstatus.in +2:so will this +3:just some stuff + +Exit status 0. +#### TEST: agrep -n -v this-will-be-found < exitstatus.in +2:so will this +3:just some stuff + +Exit status 0. +#### TEST: agrep -s -v this-will-be-found exitstatus.in +0:so will this +0:just some stuff + +Exit status 0. +#### TEST: agrep -s -v this-will-be-found < exitstatus.in +0:so will this +0:just some stuff + +Exit status 0. +#### TEST: agrep -M -v this-will-be-found exitstatus.in +so will this +just some stuff + +Exit status 0. +#### TEST: agrep -M -v this-will-be-found < exitstatus.in +so will this +just some stuff + +Exit status 0. +#### TEST: agrep --show-position -v this-will-be-found exitstatus.in +0-12:so will this +0-15:just some stuff + +Exit status 0. +#### TEST: agrep --show-position -v this-will-be-found < exitstatus.in +0-12:so will this +0-15:just some stuff + +Exit status 0. +#### TEST: agrep --color -v this-will-be-found exitstatus.in +so will this +just some stuff + +Exit status 0. +#### TEST: agrep --color -v this-will-be-found < exitstatus.in +so will this +just some stuff + +Exit status 0. +#### TEST: agrep -H -n -s --color --show-position -v this-will-be-found exitstatus.in +exitstatus.in:2:0:0-12:so will this +exitstatus.in:3:0:0-15:just some stuff + +Exit status 0. +#### TEST: agrep -H -n -s --color --show-position -v this-will-be-found < exitstatus.in +(standard input):2:0:0-12:so will this +(standard input):3:0:0-15:just some stuff + +Exit status 0. +#### TEST: agrep this-wont-be-found exitstatus.in + +Exit status 1. +#### TEST: agrep this-wont-be-found < exitstatus.in + +Exit status 1. +#### TEST: agrep -c this-wont-be-found exitstatus.in +0 + +Exit status 1. +#### TEST: agrep -c this-wont-be-found < exitstatus.in +0 + +Exit status 1. +#### TEST: agrep -H this-wont-be-found exitstatus.in + +Exit status 1. +#### TEST: agrep -H this-wont-be-found < exitstatus.in + +Exit status 1. +#### TEST: agrep -l this-wont-be-found exitstatus.in + +Exit status 1. +#### TEST: agrep -l this-wont-be-found < exitstatus.in + +Exit status 1. +#### TEST: agrep -n this-wont-be-found exitstatus.in + +Exit status 1. +#### TEST: agrep -n this-wont-be-found < exitstatus.in + +Exit status 1. +#### TEST: agrep -s this-wont-be-found exitstatus.in + +Exit status 1. +#### TEST: agrep -s this-wont-be-found < exitstatus.in + +Exit status 1. +#### TEST: agrep -M this-wont-be-found exitstatus.in + +Exit status 1. +#### TEST: agrep -M this-wont-be-found < exitstatus.in + +Exit status 1. +#### TEST: agrep --show-position this-wont-be-found exitstatus.in + +Exit status 1. +#### TEST: agrep --show-position this-wont-be-found < exitstatus.in + +Exit status 1. +#### TEST: agrep --color this-wont-be-found exitstatus.in + +Exit status 1. +#### TEST: agrep --color this-wont-be-found < exitstatus.in + +Exit status 1. +#### TEST: agrep -H -n -s --color --show-position this-wont-be-found exitstatus.in + +Exit status 1. +#### TEST: agrep -H -n -s --color --show-position this-wont-be-found < exitstatus.in + +Exit status 1. +#### TEST: agrep -v this-wont-be-found exitstatus.in +this-will-be-found +so will this +just some stuff + +Exit status 0. +#### TEST: agrep -v this-wont-be-found < exitstatus.in +this-will-be-found +so will this +just some stuff + +Exit status 0. +#### TEST: agrep -c -v this-wont-be-found exitstatus.in +3 + +Exit status 0. +#### TEST: agrep -c -v this-wont-be-found < exitstatus.in +3 + +Exit status 0. +#### TEST: agrep -H -v this-wont-be-found exitstatus.in +exitstatus.in:this-will-be-found +exitstatus.in:so will this +exitstatus.in:just some stuff + +Exit status 0. +#### TEST: agrep -H -v this-wont-be-found < exitstatus.in +(standard input):this-will-be-found +(standard input):so will this +(standard input):just some stuff + +Exit status 0. +#### TEST: agrep -l -v this-wont-be-found exitstatus.in +exitstatus.in + +Exit status 0. +#### TEST: agrep -l -v this-wont-be-found < exitstatus.in +(standard input) + +Exit status 0. +#### TEST: agrep -n -v this-wont-be-found exitstatus.in +1:this-will-be-found +2:so will this +3:just some stuff + +Exit status 0. +#### TEST: agrep -n -v this-wont-be-found < exitstatus.in +1:this-will-be-found +2:so will this +3:just some stuff + +Exit status 0. +#### TEST: agrep -s -v this-wont-be-found exitstatus.in +0:this-will-be-found +0:so will this +0:just some stuff + +Exit status 0. +#### TEST: agrep -s -v this-wont-be-found < exitstatus.in +0:this-will-be-found +0:so will this +0:just some stuff + +Exit status 0. +#### TEST: agrep -M -v this-wont-be-found exitstatus.in +this-will-be-found +so will this +just some stuff + +Exit status 0. +#### TEST: agrep -M -v this-wont-be-found < exitstatus.in +this-will-be-found +so will this +just some stuff + +Exit status 0. +#### TEST: agrep --show-position -v this-wont-be-found exitstatus.in +0-18:this-will-be-found +0-12:so will this +0-15:just some stuff + +Exit status 0. +#### TEST: agrep --show-position -v this-wont-be-found < exitstatus.in +0-18:this-will-be-found +0-12:so will this +0-15:just some stuff + +Exit status 0. +#### TEST: agrep --color -v this-wont-be-found exitstatus.in +this-will-be-found +so will this +just some stuff + +Exit status 0. +#### TEST: agrep --color -v this-wont-be-found < exitstatus.in +this-will-be-found +so will this +just some stuff + +Exit status 0. +#### TEST: agrep -H -n -s --color --show-position -v this-wont-be-found exitstatus.in +exitstatus.in:1:0:0-18:this-will-be-found +exitstatus.in:2:0:0-12:so will this +exitstatus.in:3:0:0-15:just some stuff + +Exit status 0. +#### TEST: agrep -H -n -s --color --show-position -v this-wont-be-found < exitstatus.in +(standard input):1:0:0-18:this-will-be-found +(standard input):2:0:0-12:so will this +(standard input):3:0:0-15:just some stuff + +Exit status 0. +#### TEST: agrep . exitstatus.in +this-will-be-found +so will this +just some stuff + +Exit status 0. +#### TEST: agrep . < exitstatus.in +this-will-be-found +so will this +just some stuff + +Exit status 0. +#### TEST: agrep -c . exitstatus.in +3 + +Exit status 0. +#### TEST: agrep -c . < exitstatus.in +3 + +Exit status 0. +#### TEST: agrep -H . exitstatus.in +exitstatus.in:this-will-be-found +exitstatus.in:so will this +exitstatus.in:just some stuff + +Exit status 0. +#### TEST: agrep -H . < exitstatus.in +(standard input):this-will-be-found +(standard input):so will this +(standard input):just some stuff + +Exit status 0. +#### TEST: agrep -l . exitstatus.in +exitstatus.in + +Exit status 0. +#### TEST: agrep -l . < exitstatus.in +(standard input) + +Exit status 0. +#### TEST: agrep -n . exitstatus.in +1:this-will-be-found +2:so will this +3:just some stuff + +Exit status 0. +#### TEST: agrep -n . < exitstatus.in +1:this-will-be-found +2:so will this +3:just some stuff + +Exit status 0. +#### TEST: agrep -s . exitstatus.in +0:this-will-be-found +0:so will this +0:just some stuff + +Exit status 0. +#### TEST: agrep -s . < exitstatus.in +0:this-will-be-found +0:so will this +0:just some stuff + +Exit status 0. +#### TEST: agrep -M . exitstatus.in +this-will-be-found +so will this +just some stuff + +Exit status 0. +#### TEST: agrep -M . < exitstatus.in +this-will-be-found +so will this +just some stuff + +Exit status 0. +#### TEST: agrep --show-position . exitstatus.in +0-1:this-will-be-found +0-1:so will this +0-1:just some stuff + +Exit status 0. +#### TEST: agrep --show-position . < exitstatus.in +0-1:this-will-be-found +0-1:so will this +0-1:just some stuff + +Exit status 0. +#### TEST: agrep --color . exitstatus.in +[01;31mt[00mhis-will-be-found +[01;31ms[00mo will this +[01;31mj[00must some stuff + +Exit status 0. +#### TEST: agrep --color . < exitstatus.in +[01;31mt[00mhis-will-be-found +[01;31ms[00mo will this +[01;31mj[00must some stuff + +Exit status 0. +#### TEST: agrep -H -n -s --color --show-position . exitstatus.in +exitstatus.in:1:0:0-1:[01;31mt[00mhis-will-be-found +exitstatus.in:2:0:0-1:[01;31ms[00mo will this +exitstatus.in:3:0:0-1:[01;31mj[00must some stuff + +Exit status 0. +#### TEST: agrep -H -n -s --color --show-position . < exitstatus.in +(standard input):1:0:0-1:[01;31mt[00mhis-will-be-found +(standard input):2:0:0-1:[01;31ms[00mo will this +(standard input):3:0:0-1:[01;31mj[00must some stuff + +Exit status 0. +#### TEST: agrep -v . exitstatus.in + +Exit status 1. +#### TEST: agrep -v . < exitstatus.in + +Exit status 1. +#### TEST: agrep -c -v . exitstatus.in +0 + +Exit status 1. +#### TEST: agrep -c -v . < exitstatus.in +0 + +Exit status 1. +#### TEST: agrep -H -v . exitstatus.in + +Exit status 1. +#### TEST: agrep -H -v . < exitstatus.in + +Exit status 1. +#### TEST: agrep -l -v . exitstatus.in + +Exit status 1. +#### TEST: agrep -l -v . < exitstatus.in + +Exit status 1. +#### TEST: agrep -n -v . exitstatus.in + +Exit status 1. +#### TEST: agrep -n -v . < exitstatus.in + +Exit status 1. +#### TEST: agrep -s -v . exitstatus.in + +Exit status 1. +#### TEST: agrep -s -v . < exitstatus.in + +Exit status 1. +#### TEST: agrep -M -v . exitstatus.in + +Exit status 1. +#### TEST: agrep -M -v . < exitstatus.in + +Exit status 1. +#### TEST: agrep --show-position -v . exitstatus.in + +Exit status 1. +#### TEST: agrep --show-position -v . < exitstatus.in + +Exit status 1. +#### TEST: agrep --color -v . exitstatus.in + +Exit status 1. +#### TEST: agrep --color -v . < exitstatus.in + +Exit status 1. +#### TEST: agrep -H -n -s --color --show-position -v . exitstatus.in + +Exit status 1. +#### TEST: agrep -H -n -s --color --show-position -v . < exitstatus.in + +Exit status 1. +#### TEST: agrep -d .* dummy exitstatus.in + +Exit status 1. +#### TEST: agrep -d .* dummy < exitstatus.in + +Exit status 1. +#### TEST: agrep -c -d .* dummy exitstatus.in +exitstatus.in:0 + +Exit status 1. +#### TEST: agrep -c -d .* dummy < exitstatus.in + +Exit status 1. +#### TEST: agrep -H -d .* dummy exitstatus.in + +Exit status 1. +#### TEST: agrep -H -d .* dummy < exitstatus.in + +Exit status 1. +#### TEST: agrep -l -d .* dummy exitstatus.in + +Exit status 1. +#### TEST: agrep -l -d .* dummy < exitstatus.in + +Exit status 1. +#### TEST: agrep -n -d .* dummy exitstatus.in + +Exit status 1. +#### TEST: agrep -n -d .* dummy < exitstatus.in + +Exit status 1. +#### TEST: agrep -s -d .* dummy exitstatus.in + +Exit status 1. +#### TEST: agrep -s -d .* dummy < exitstatus.in + +Exit status 1. +#### TEST: agrep -M -d .* dummy exitstatus.in + +Exit status 1. +#### TEST: agrep -M -d .* dummy < exitstatus.in + +Exit status 1. +#### TEST: agrep --show-position -d .* dummy exitstatus.in + +Exit status 1. +#### TEST: agrep --show-position -d .* dummy < exitstatus.in + +Exit status 1. +#### TEST: agrep --color -d .* dummy exitstatus.in + +Exit status 1. +#### TEST: agrep --color -d .* dummy < exitstatus.in + +Exit status 1. +#### TEST: agrep -H -n -s --color --show-position -d .* dummy exitstatus.in + +Exit status 1. +#### TEST: agrep -H -n -s --color --show-position -d .* dummy < exitstatus.in + +Exit status 1. +#### TEST: agrep -d {1 dummy exitstatus.in + +Exit status 2. +#### TEST: agrep -d {1 dummy < exitstatus.in + +Exit status 2. +#### TEST: agrep -c -d {1 dummy exitstatus.in + +Exit status 2. +#### TEST: agrep -c -d {1 dummy < exitstatus.in + +Exit status 2. +#### TEST: agrep -H -d {1 dummy exitstatus.in + +Exit status 2. +#### TEST: agrep -H -d {1 dummy < exitstatus.in + +Exit status 2. +#### TEST: agrep -l -d {1 dummy exitstatus.in + +Exit status 2. +#### TEST: agrep -l -d {1 dummy < exitstatus.in + +Exit status 2. +#### TEST: agrep -n -d {1 dummy exitstatus.in + +Exit status 2. +#### TEST: agrep -n -d {1 dummy < exitstatus.in + +Exit status 2. +#### TEST: agrep -s -d {1 dummy exitstatus.in + +Exit status 2. +#### TEST: agrep -s -d {1 dummy < exitstatus.in + +Exit status 2. +#### TEST: agrep -M -d {1 dummy exitstatus.in + +Exit status 2. +#### TEST: agrep -M -d {1 dummy < exitstatus.in + +Exit status 2. +#### TEST: agrep --show-position -d {1 dummy exitstatus.in + +Exit status 2. +#### TEST: agrep --show-position -d {1 dummy < exitstatus.in + +Exit status 2. +#### TEST: agrep --color -d {1 dummy exitstatus.in + +Exit status 2. +#### TEST: agrep --color -d {1 dummy < exitstatus.in + +Exit status 2. +#### TEST: agrep -H -n -s --color --show-position -d {1 dummy exitstatus.in + +Exit status 2. +#### TEST: agrep -H -n -s --color --show-position -d {1 dummy < exitstatus.in + +Exit status 2. +#### TEST: agrep \ exitstatus.in + +Exit status 2. +#### TEST: agrep \ < exitstatus.in + +Exit status 2. +#### TEST: agrep -c \ exitstatus.in + +Exit status 2. +#### TEST: agrep -c \ < exitstatus.in + +Exit status 2. +#### TEST: agrep -H \ exitstatus.in + +Exit status 2. +#### TEST: agrep -H \ < exitstatus.in + +Exit status 2. +#### TEST: agrep -l \ exitstatus.in + +Exit status 2. +#### TEST: agrep -l \ < exitstatus.in + +Exit status 2. +#### TEST: agrep -n \ exitstatus.in + +Exit status 2. +#### TEST: agrep -n \ < exitstatus.in + +Exit status 2. +#### TEST: agrep -s \ exitstatus.in + +Exit status 2. +#### TEST: agrep -s \ < exitstatus.in + +Exit status 2. +#### TEST: agrep -M \ exitstatus.in + +Exit status 2. +#### TEST: agrep -M \ < exitstatus.in + +Exit status 2. +#### TEST: agrep --show-position \ exitstatus.in + +Exit status 2. +#### TEST: agrep --show-position \ < exitstatus.in + +Exit status 2. +#### TEST: agrep --color \ exitstatus.in + +Exit status 2. +#### TEST: agrep --color \ < exitstatus.in + +Exit status 2. +#### TEST: agrep -H -n -s --color --show-position \ exitstatus.in + +Exit status 2. +#### TEST: agrep -H -n -s --color --show-position \ < exitstatus.in + +Exit status 2. |