Skip to content

Commit a22ea82

Browse files
committed
tests/int/hooks_so: don't hardcode soname
Reuse the appropriate variables instead. No functional change. Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 81b1317 commit a22ea82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/hooks_so.bats

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ function teardown() {
2424

2525
@test "runc run (hooks library tests)" {
2626
# setup some dummy libs
27-
gcc -shared -Wl,-soname,librunc-hooks-create-runtime.so.1 -o "$HOOKLIBCR.1.0.0"
28-
gcc -shared -Wl,-soname,librunc-hooks-create-container.so.1 -o "$HOOKLIBCC.1.0.0"
27+
gcc -shared -Wl,-soname,"$HOOKLIBCR.1" -o "$HOOKLIBCR.1.0.0"
28+
gcc -shared -Wl,-soname,"$HOOKLIBCC.1" -o "$HOOKLIBCC.1.0.0"
2929

3030
bundle=$(pwd)
3131

0 commit comments

Comments
 (0)