mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
In case chroot and unshare are not available, $test_directory remains the
current directory. When the directory gets removed (line 119), ‘guix pack’ on
line 121 fails due to (getcwd) failing with ENOENT.
The bug was already present in 272c070962.
* tests/guix-pack.sh: Always do “cd -”.
Change-Id: Ib02bf3714f0c6706b5e759dbb28cf86edf0f1317
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #6013
5.2 KiB
5.2 KiB