This website requires JavaScript.
Explore
Mirrors
Help
Sign In
Apple-2gs-SW
/
hush
Watch
1
Star
0
Fork
0
You've already forked hush
mirror of
https://github.com/sheumann/hush.git
synced
2024-10-29 20:27:40 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
195c436f84
hush
/
testsuite
/
hostname
/
hostname-d-works
4 lines
82 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Improved portability of tests Removed assumptions about umask and locale. Fixed hostname tests to work even when the host has no DNS domain set. Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-08-11 06:33:57 +00:00
f=$(busybox hostname -f).
randomtest fixes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-05-12 13:59:32 +00:00
d=$(busybox hostname -d)
Improved portability of tests Removed assumptions about umask and locale. Fixed hostname tests to work even when the host has no DNS domain set. Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-08-11 06:33:57 +00:00
test x"${f#*.}" = x"$d${d:+.}"
Reference in New Issue
Copy Permalink