From d5297540b17e1fe8ff0971bbc06184eb29c080e6 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 22 Jun 2021 18:18:05 -0300 Subject: aux/tests-lib.sh: Add uuid() function, use it on tests --- tests/remotes.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/remotes.sh') diff --git a/tests/remotes.sh b/tests/remotes.sh index 06d3fdc..0b52513 100755 --- a/tests/remotes.sh +++ b/tests/remotes.sh @@ -3,12 +3,12 @@ set -u . aux/tests-lib.sh -TEST_PREFIX="$PWD/tests/prefix/$(uuidgen)" +TEST_PREFIX="$PWD/tests/prefix/$(uuid)" make PREFIX="$TEST_PREFIX" install 1>/dev/null PATH="$PWD/tests:$TEST_PREFIX/bin:$PATH" new_repo() { - REPO="$PWD/tests/remotes/$(uuidgen)" + REPO="$PWD/tests/remotes/$(uuid)" mkdir -p "$REPO" cd "$REPO" || exit 1 git init > /dev/null -- cgit v1.2.3