public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Sami Kerola <kerolasa@iki.fi>
Cc: util-linux@vger.kernel.org
Subject: Re: [PATCH 2/2] tests: add rename(1) checks
Date: Mon, 26 May 2014 11:57:44 +0200	[thread overview]
Message-ID: <20140526095744.GC2968@x2.net.home> (raw)
In-Reply-To: <1401055103-28558-2-git-send-email-kerolasa@iki.fi>

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@redhat.com>
 http://karelzak.blogspot.com

      reply	other threads:[~2014-05-26  9:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-25 21:58 [PATCH 1/2] rename: allow renaming in subdirectories Sami Kerola
2014-05-25 21:58 ` [PATCH 2/2] tests: add rename(1) checks Sami Kerola
2014-05-26  9:57   ` Karel Zak [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140526095744.GC2968@x2.net.home \
    --to=kzak@redhat.com \
    --cc=kerolasa@iki.fi \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox