Re: [PATCH 2/2] tests: add rename(1) checks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, May 25, 2014 at 10:58:23PM +0100, Sami Kerola wrote:
> Check basic file moves, symlink relinking, and both file moves and
> symlinks when operations are have directory in destination path.

 Thanks!

> +mkdir rename_a{a,b}
> +touch rename_a{a,b}/aa
> +$TS_CMD_RENAME -v a x rename_a?/aa >> $TS_OUTPUT 2>&1
> +find rename_a{a,b} >> $TS_OUTPUT 2>&1

 Please, keep $CWD, ts/* and expected/* read-only. The test has to
 write to $TS_OUTDIR only.

   mkdir $TS_OUTDIR/rename_a{a,b}
   touch $TS_OUTDIR/rename_a{a,b}/aa
   ...

 Karel


-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux