aboutsummaryrefslogtreecommitdiff
path: root/tests/remotes.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-06-22 18:18:05 -0300
committerEuAndreh <eu@euandre.org>2021-06-22 18:24:15 -0300
commitd5297540b17e1fe8ff0971bbc06184eb29c080e6 (patch)
tree6c72564b5ea06dd8ca0db05f4a68592bd544ff00 /tests/remotes.sh
parentsrc/git-permalink.sh.in, tests/remotes.sh: Address ShellCheck issues (diff)
downloadgit-permalink-d5297540b17e1fe8ff0971bbc06184eb29c080e6.tar.gz
git-permalink-d5297540b17e1fe8ff0971bbc06184eb29c080e6.tar.xz
aux/tests-lib.sh: Add uuid() function, use it on tests
Diffstat (limited to 'tests/remotes.sh')
-rwxr-xr-xtests/remotes.sh4
1 files changed, 2 insertions, 2 deletions
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