Compare commits

...

No commits in common. "c8s" and "c8-beta" have entirely different histories.
c8s ... c8-beta

13 changed files with 2 additions and 131 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/tmux-2.7.tar.gz
SOURCES/tmux-2.7.tar.gz

1
.tmux.metadata Normal file
View File

@ -0,0 +1 @@
a12bb094bf0baf0275b6d5cc718c938639712e97 SOURCES/tmux-2.7.tar.gz

View File

@ -1,6 +0,0 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -1 +0,0 @@
SHA512 (tmux-2.7.tar.gz) = 7839ef748ea55df8c02c727047f65bd235b5e3b8ab23157246071e1b9954fa269594da9fbd0fabf6a850e3b5dfda962a0a067c1507411c92a84d1db2666ecf37

View File

@ -1,19 +0,0 @@
#!/bin/sh
PATH=/usr/bin
TMUX=/usr/bin/tmux
echo -n "checking to see that ${TMUX} is an ELF executable..."
case "$(file -b --mime-type "${TMUX}")" in
application/x-executable|application/x-pie-executable|application/x-sharedlib)
echo "ok"
RET=0
;;
*)
echo "FAIL"
RET=1
;;
esac
exit ${RET}

View File

@ -1,16 +0,0 @@
#!/bin/sh
PATH=/usr/bin
TMUX=/usr/bin/tmux
echo -n "checking to see that ${TMUX} exists..."
if [ -f "${TMUX}" ]; then
echo "ok"
RET=0
else
echo "FAIL"
RET=1
fi
exit ${RET}

View File

@ -1,19 +0,0 @@
#!/bin/sh
PATH=/usr/bin
TMUX=/usr/bin/tmux
echo -n "verifying ${TMUX}'s filename contains all lowercase letters..."
BASETMUX="$(basename $(stat -L -c "%n" ${TMUX}))"
LOWERTMUX="$(echo "${BASETMUX}" | tr [A-Z] [a-z])"
if [ "${BASETMUX}" = "${LOWERTMUX}" ]; then
echo "ok"
RET=0
else
echo "FAIL"
RET=1
fi
exit ${RET}

View File

@ -1,21 +0,0 @@
#!/bin/sh
PATH=/usr/bin
TMUX=/usr/bin/tmux
echo -n "checking for ${TMUX} --help output and exit code..."
STDOUT="$(${TMUX} --help 2>/dev/null)"
STDERR="$(${TMUX} --help 2>&1 | head -n 1 | cut -c-11)"
${TMUX} --help >/dev/null 2>&1
EXITCODE=$?
if [ ${EXITCODE} -eq 1 ] && [ -z "${STDOUT}" ] && [ "${STDERR}" = "usage: tmux" ]; then
echo "ok"
RET=0
else
echo "FAIL"
RET=1
fi
exit ${RET}

View File

@ -1,23 +0,0 @@
#!/bin/sh
PATH=/usr/bin
TMUX=/usr/bin/tmux
SESSION_NAME="$(basename $0 .sh)"
RET=0
echo -n "checking that ${TMUX} can start a new session with 'top'..."
${TMUX} new-session -d -s ${SESSION_NAME} 'top' || ( echo "FAIL" ; exit 1 )
TOPPID=$(pgrep -x top)
PGREPCODE=$?
if [ -z "${TOPPID}" ] || [ ${PGREPCODE} -ne 0 ]; then
RET=1
elif [ ! -d /proc/${TOPPID} ]; then
RET=1
fi
${TMUX} kill-session -t ${SESSION_NAME} || ( echo "FAIL" ; exit 1 )
[ ${RET} -eq 0 ] && echo "ok" || echo "FAIL"
exit ${RET}

View File

@ -1,25 +0,0 @@
---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
required_packages:
- tmux
tests:
- exists:
dir: scripts/
run: ./exists.sh
- correct-elf:
dir: scripts/
run: ./correct-elf.sh
- filename-lowercase:
dir: scripts/
run: ./filename-lowercase.sh
- help-output:
dir: scripts/
run: ./help-output.sh
- launch-top:
dir: scripts/
run: ./launch-top.sh