From c5137cbba365abcf9f637e7a982b54bcb0e9fcba Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 24 Jan 2021 03:31:07 -0300 Subject: Stop depending on uuidgen --- tests/ranking.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/ranking.sh') diff --git a/tests/ranking.sh b/tests/ranking.sh index 4d8a7e7..5dec051 100755 --- a/tests/ranking.sh +++ b/tests/ranking.sh @@ -6,7 +6,7 @@ set -eu test_picking_first_makes_it_be_always_first() { OUT="$(mktemp)" ERR="$(mktemp)" - PROFILE="always-picks-first-$(uuidgen)" + PROFILE="always-picks-first-$(uuid)" for _ in $(seq 10); do printf 'always-picked\nnever-picked\n' | \ sh remembering \ @@ -71,7 +71,7 @@ assert_first() { } test_promoting_values() { - PROFILE="promoting-$(uuidgen)" + PROFILE="promoting-$(uuid)" pick_x h pick_x z # just to get the new STDIN @@ -83,7 +83,7 @@ test_promoting_values() { } test_higher_values_loose_tie() { - PROFILE="higher-loose-tie-$(uuidgen)" + PROFILE="higher-loose-tie-$(uuid)" pick_x f pick_x f @@ -94,7 +94,7 @@ test_higher_values_loose_tie() { } test_smaller_values_win_tie() { - PROFILE="smaller-win-tie-$(uuidgen)" + PROFILE="smaller-win-tie-$(uuid)" pick_x d pick_x d @@ -105,7 +105,7 @@ test_smaller_values_win_tie() { } test_many_sequential_picks() { - PROFILE="many-sequential-picks-$(uuidgen)" + PROFILE="many-sequential-picks-$(uuid)" pick_x b pick_x r -- cgit v1.2.3