mirror of
https://github.com/megastep/makeself.git
synced 2025-09-26 19:41:12 +08:00
Replace another instance of realpath; add quiet test on platforms
This commit is contained in:
@@ -33,7 +33,7 @@ doInfoListCheckExec() {
|
||||
# rest : content basenames
|
||||
assertFileContains() {
|
||||
local file_name=""
|
||||
file_name="$(realpath "$1")"
|
||||
file_name="$(readlink -f "$1")"
|
||||
shift
|
||||
local target="${file_name}.d"
|
||||
rm -rf "${target}"
|
||||
@@ -55,7 +55,7 @@ doTestOpts() {
|
||||
"${file_name}" \
|
||||
"${stem}" \
|
||||
"echo ${stem}"
|
||||
file_name="$(realpath ${file_name})"
|
||||
file_name="$(readlink -f ${file_name})"
|
||||
doInfoListCheckExec "${file_name}"
|
||||
assertFileContains "${file_name}" "fee\nfie"
|
||||
|
||||
|
@@ -12,6 +12,10 @@ uname -a
|
||||
|
||||
cd "$THISDIR"
|
||||
|
||||
# Try a quiet run
|
||||
sh "../build-ubuntu/makeself-$VERSION.run" --quiet --target ./tmp/makeself-ubuntu
|
||||
|
||||
# Regular runs
|
||||
sh "../build-ubuntu/makeself-$VERSION.run" --target ./tmp/makeself-ubuntu
|
||||
sh "../build-alpine/makeself-$VERSION.run" --target ./tmp/makeself-alpine
|
||||
sh "../build-windows/makeself-$VERSION.run" --target ./tmp/makeself-windows
|
||||
|
Reference in New Issue
Block a user