bug-gnulib
[Top][All Lists]
Advanced

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

hello-2.1.91: tweak tests


From: Bruno Haible
Subject: hello-2.1.91: tweak tests
Date: Tue, 22 Aug 2006 14:18:39 +0200
User-agent: KMail/1.9.1

IMO it makes no sense to use "rm -fr" in the trap commands of the tests
but only "rm -f" in case of successful completion.


2006-08-21  Bruno Haible  <address@hidden>

        * greeting-1: Remove also temporary subdirectories.
        * hello-1: Likewise.
        * traditional-1: Likewise.

*** tests/greeting-1.bak        Tue Aug 22 02:45:12 2006
--- tests/greeting-1    Tue Aug 22 03:07:48 2006
***************
*** 22,27 ****
  ${DIFF} greeting-test1.ok greeting-test1.out
  result=$?
  
! rm -f $tmpfiles
  
  exit $result
--- 22,27 ----
  ${DIFF} greeting-test1.ok greeting-test1.out
  result=$?
  
! rm -fr $tmpfiles
  
  exit $result
*** tests/hello-1.bak   Tue Aug 22 02:45:19 2006
--- tests/hello-1       Tue Aug 22 03:07:57 2006
***************
*** 29,34 ****
  ${DIFF} hello-test1.ok hello-test1.out
  result=$?
  
! rm -f $tmpfiles
  
  exit $result
--- 29,34 ----
  ${DIFF} hello-test1.ok hello-test1.out
  result=$?
  
! rm -fr $tmpfiles
  
  exit $result
*** tests/traditional-1.bak     Tue Aug 22 02:45:24 2006
--- tests/traditional-1 Tue Aug 22 03:08:10 2006
***************
*** 28,33 ****
  ${DIFF} traditional-test1.ok traditional-test1.out
  result=$?
  
! rm -f $tmpfiles
  
  exit $result
--- 28,33 ----
  ${DIFF} traditional-test1.ok traditional-test1.out
  result=$?
  
! rm -fr $tmpfiles
  
  exit $result




reply via email to

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