File tree 2 files changed +15
-0
lines changed
fixtures/basic_web_8.0/bin
2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -euo pipefail
4
+
5
+ # Check that all dynamically linked libraries exist in the run image
6
+ INSTALL_DIR=" $( command -v dotnet) "
7
+ ldd_output=$( find " $( dirname " ${INSTALL_DIR} " ) " -type f,l \( -name ' dotnet' -o -name ' *.so*' \) -exec ldd ' {}' +)
8
+ if grep ' not found' <<< " ${ldd_output}" | sort --unique; then
9
+ echo " The above dynamically linked libraries were not found!"
10
+ exit 1
11
+ else
12
+ echo " All dynamically linked libraries were found."
13
+ fi
Original file line number Diff line number Diff line change 40
40
remote: Procfile declares types -> \\ (none\\ )
41
41
remote: Default types for buildpack -> foo
42
42
REGEX
43
+
44
+ expect ( app . run ( 'bin/test-runtime.sh' ) ) . to match ( 'All dynamically linked libraries were found.' )
43
45
end
44
46
end
45
47
end
You can’t perform that action at this time.
0 commit comments