diff options
author | EuAndreh <eu@euandre.org> | 2021-07-15 11:20:02 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-07-15 11:23:10 -0300 |
commit | a50e35888115442e6f348e89847139d81dd5c0cc (patch) | |
tree | 34b1da377c3d61bc4c796e915cdcc30de43b6190 /tests | |
parent | Add trailing /en/ to all default URLs, and the equivalent for translations (diff) | |
download | git-permalink-a50e35888115442e6f348e89847139d81dd5c0cc.tar.gz git-permalink-a50e35888115442e6f348e89847139d81dd5c0cc.tar.xz |
tests/install-uninstall.sh: Remove in favor of aux/workflow/installcheck.sh
Diffstat (limited to '')
-rwxr-xr-x | tests/install-uninstall.sh | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/tests/install-uninstall.sh b/tests/install-uninstall.sh deleted file mode 100755 index 1fbdad1..0000000 --- a/tests/install-uninstall.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh -set -u - -. tests/tests-lib.sh - -TEST_DESTDIR="$PWD/tests/destdirs/$(uuid)" -PATH="$TEST_DESTDIR/usr/local/bin:$PATH" - -test_install_uninstall_targets() { - testing 'install uninstall targets' - - N="$LINENO" - OUT="$(mktemp)" - ERR="$(mktemp)" - make DESTDIR="$TEST_DESTDIR" install 1>>"$OUT" 2>>"$ERR" - git permalink -V 1>>"$OUT" 2>>"$ERR" - STATUS=$? - assert_status 0 - assert_grep_stdout '^git-permalink-[0-9\.]+ [0-9-]+$' - - N="$LINENO" - OUT="$(mktemp)" - ERR="$(mktemp)" - command -v git-permalink 1>"$OUT" 2>"$ERR" - STATUS=$? - assert_status 0 - assert_stdout "$TEST_DESTDIR/usr/local/bin/git-permalink" - - N="$LINENO" - OUT="$(mktemp)" - ERR="$(mktemp)" - find "$TEST_DESTDIR" -type f | wc -l 1>"$OUT" 2>"$ERR" - STATUS=$? - assert_status 0 - assert_stdout '5' - - N="$LINENO" - OUT="$(mktemp)" - ERR="$(mktemp)" - make DESTDIR="$TEST_DESTDIR" uninstall 1>>"$OUT" 2>>"$ERR" - find "$TEST_DESTDIR" -type f | wc -l 1>"$OUT" 2>"$ERR" - STATUS=$? - assert_status 0 - assert_stdout '0' - - test_ok -} - -test_install_uninstall_targets |