-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: fix a few posix issues. Skip test if feature isn't supported
Signed-off-by: Jafar Al-Gharaibeh <[email protected]>
- Loading branch information
Showing
11 changed files
with
44 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ $(IGNORE): | |
else ./$@ > local/[email protected] 2>&1; fi || true | ||
-@echo "Expect/ignore these differences in $@:" | ||
-@diff stand/[email protected] local/[email protected]; \ | ||
@if [ $$? -eq 0 ] ; then echo "OK"; \ | ||
if [ $$? -eq 0 ] ; then echo "OK"; \ | ||
else echo "[Test $@] Ignored"; fi || true | ||
-@rm $@$(EXE) | ||
|
||
|
@@ -63,8 +63,11 @@ endif | |
diff --suppress-common-lines -wy stand/[email protected] local/[email protected] > [email protected]; fi \ | ||
else diff -wq stand/[email protected] local/[email protected] >/dev/null; \ | ||
if [ $$? -eq 0 ] ; then echo "OK"; \ | ||
else \ | ||
if grep -qi "This Program Requires" local/[email protected]; then cat local/[email protected]; \ | ||
else echo "Failed"; \ | ||
diff --suppress-common-lines -wy stand/[email protected] local/[email protected] > [email protected]; fi \ | ||
fi; \ | ||
fi || true | ||
-@rm $@$(EXE) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
daytime 13/tcp # | ||
ssh 22/tcp # | ||
ntp 123/udp [] | ||
ntp 123/udp [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters