coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] tests: cp, install, move: check for data loss with just-crea


From: Pádraig Brady
Subject: Re: [PATCH] tests: cp, install, move: check for data loss with just-created files
Date: Thu, 18 Jun 2026 12:04:27 +0100
User-agent: Mozilla Thunderbird Beta

On 18/06/2026 04:52, Collin Funk wrote:
reset_files ()
+{
+  rm -rf a b c || framework_failure_
+  mkdir a b c || framework_failure_
+  cat exp-a > a/f || framework_failure_
+  cat exp-b > b/f || framework_failure_
+}

I'd probably change the above to:

  rm ... &&
  mkdir ... &&
  cat ... &&
  cat ... || framework_failure_

Otherwise, LGTM.

thanks,
Padraig



reply via email to

[Prev in Thread] Current Thread [Next in Thread]