aboutsummaryrefslogtreecommitdiff
path: root/tests/ranking.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtests/ranking.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ranking.sh b/tests/ranking.sh
index aca5ec4..c3bee84 100755
--- a/tests/ranking.sh
+++ b/tests/ranking.sh
@@ -10,7 +10,7 @@ test_picking_first_makes_it_be_always_first() {
PROFILE="always-picks-first-$(uuid)"
for _ in $(seq 10); do
printf 'always-picked\nnever-picked\n' | \
- sh remembering \
+ ./remembering \
-p "$PROFILE" \
-c 'head -n1' \
1>"$OUT" 2>"$ERR"
@@ -54,7 +54,7 @@ pick_x() {
PICK="$1"
echo "${2:-$INPUT}" | \
- sh remembering \
+ ./remembering \
-p "$PROFILE" \
-c "tee -a /dev/stderr | grep \"$PICK\"" \
1>"$OUT" 2>"$ERR"
@@ -228,7 +228,7 @@ test_stdin_is_empty() {
ERR="$(mktemp)"
printf '' | \
- sh remembering \
+ ./remembering \
-p "$PROFILE" \
-c 'tee -a /dev/stderr | head -n1' \
1>"$OUT" 2>"$ERR"
@@ -285,7 +285,7 @@ test_really_long_list() {
ERR="$(mktemp)"
PROFILE="really-long-list-$(uuid)"
seq 999999 | \
- sh remembering \
+ ./remembering \
-p "$PROFILE" \
-c 'head -n1' \
1>"$OUT" 2>"$ERR"