diff options
author | Elliott Hughes <enh@google.com> | 2019-10-02 18:46:36 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-10-04 16:16:57 -0500 |
commit | 86c25f5335bd664a4f6dc7255c7556df707fe086 (patch) | |
tree | 10746b4a366d46025e4f1d79215d61ed5e7415f8 /tests | |
parent | 09c7c9ee1020ebb915c4fbaf4a55127f40ef3daa (diff) | |
download | toybox-86c25f5335bd664a4f6dc7255c7556df707fe086.tar.gz |
readlink: add missing line, plus a test.
I must have lost this line somehow when I moved the patch from my AOSP
tree to a toybox tree. (But the ln tests passed on the host because I
was using coreutils ln there :-( )
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/readlink.test | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/readlink.test b/tests/readlink.test index 52121770..cc728dbf 100755 --- a/tests/readlink.test +++ b/tests/readlink.test @@ -17,6 +17,7 @@ testing "-f missing" "readlink -f notfound" "$APWD/notfound\n" "" "" ln -sf notfound link testing "link" "readlink link" "notfound\n" "" "" +testing "links" "readlink link link" "notfound\nnotfound\n" "" "" testing "link->missing" "readlink -f link" "$APWD/notfound\n" "" "" ln -sf ../../ link testing "stays relative" "readlink link" "../../\n" "" "" |