Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed Sep 18, 2024
1 parent fb65917 commit c7d79df
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/readlink-proc-self-exe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,15 @@ if [ "$ACTUAL_PATH_TO_SELF" != "$EXPECTED_PATH_TO_SELF" ]; then
exit 1
fi

ln -s symlinked-binary nested-symlinked-binary
ACTUAL_PATH_TO_SELF=$(./nested-symlinked-binary)
if [ "$ACTUAL_PATH_TO_SELF" != "$EXPECTED_PATH_TO_SELF" ]; then
echo "ERROR(3): Expected '$EXPECTED_PATH_TO_SELF', was '$ACTUAL_PATH_TO_SELF'"
exit 1
fi

cd - > /dev/null

rm -rf $TMPDIR

echo ok
File renamed without changes.

0 comments on commit c7d79df

Please sign in to comment.