Lines Matching refs:relative
46 returns_ 1 realpath --relative-base . --relative-to . || fail=1
47 returns_ 1 realpath --relative-base . || fail=1
50 returns_ 1 realpath -e --relative-to=dir1/f --relative-base=. . || fail=1
51 realpath -e --relative-to=dir1/ --relative-base=. . || fail=1
55 returns_ 1 realpath --relative-base= --relative-to=. . || fail=1
64 test $(realpath -m --relative-to=prefix prefixed/1) = '../prefixed/1' || fail=1
65 test $(realpath -m --relative-to=prefixed prefix/1) = '../prefix/1' || fail=1
66 test $(realpath -m --relative-to=prefixed prefixed/1) = '1' || fail=1
69 test $(realpath -sm --relative-to=/usr /) = '..' || fail=1
71 test $(realpath -sm --relative-to=/ /usr) = 'usr' || fail=1
74 out=$(realpath -sm --relative-base=/usr --relative-to=/usr /tmp /usr) || fail=1
76 out=$(realpath -sm --relative-base=/ --relative-to=/ / /usr) || fail=1
79 out=$(realpath -sm --relative-base=/usr /tmp /usr) || fail=1
81 out=$(realpath -sm --relative-base=/ / /usr) || fail=1
85 out=$(realpath -sm --relative-base=/usr/local --relative-to=/usr \
92 out=$(realpath -sm --relative-to=/ / // /dev //dev) || fail=1
98 out=$(realpath -sm --relative-to=// / // /dev //dev) || fail=1
104 out=$(realpath --relative-base=/ --relative-to=// / //) || fail=1