tests: Remove 't-profile-alt-*-link' files.
authorLudovic Courtès <ludo@gnu.org>
Thu, 1 Jun 2017 11:32:31 +0000 (13:32 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 2 Jun 2017 16:47:06 +0000 (18:47 +0200)
Reported by myglc2 <myglc2@gmail.com>
at <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27137#11>.

* tests/guix-package-net.sh: In the trap, remove $profile_alt-[0-9]*.

tests/guix-package-net.sh

index 1eff6ab..927c856 100644 (file)
@@ -49,7 +49,7 @@ profile="t-profile-$$"
 profile_alt="t-profile-alt-$$"
 rm -f "$profile"
 
-trap 'rm -f "$profile" "$profile_alt" "$profile-"[0-9]* ; rm -rf t-home-'"$$" EXIT
+trap 'rm -f "$profile" "$profile_alt" "$profile-"[0-9]* "$profile_alt-"[0-9]* ; rm -rf t-home-'"$$" EXIT
 
 
 guix package --bootstrap -p "$profile" -i guile-bootstrap