On Wed, Mar 23, 2016 at 04:56:37PM +0800, Zhou Wenjian wrote:
> --- /dev/null
> +++ b/tests/option_u.test
> @@ -0,0 +1,13 @@
> +#!/bin/sh
> +
> +# Check option -u.
> +
> +. "${srcdir=.}/init.sh"
> +
> +user=$(tail -n 1 /etc/passwd | awk -F ":" '{print $1}')

What is it?

> +OUT="$LOG.out"
> +run_prog whoami
> +run_strace -u $user $args > "$OUT"

Really?

> +echo $user > "$LOG"
> +match_diff "$LOG" "$OUT"

Does it have anything to do with strace?


-- 
ldv

Attachment: pgpC1749F94R7.pgp
Description: PGP signature

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to