File: testsuite-hurd.diff

package info (click to toggle)
busybox 1%3A1.37.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,684 kB
  • sloc: ansic: 190,169; sh: 10,414; cpp: 1,428; makefile: 1,005; asm: 798; yacc: 570; lex: 355; perl: 334; python: 112; awk: 29
file content (37 lines) | stat: -rw-r--r-- 1,322 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
diff --git a/testsuite/awk.tests b/testsuite/awk.tests
index f9c3b6b..c403caf 100755
--- a/testsuite/awk.tests
+++ b/testsuite/awk.tests
@@ -93,7 +93,7 @@ testing "awk handles whitespace before array subscript" \
 # do we need to emulate that as well?
 testing "awk handles non-existing file correctly" \
 	"awk 'BEGIN { getline line <\"doesnt_exist\"; print ERRNO; ERRNO=0; close(\"doesnt_exist\"); print ERRNO; print \"Ok\" }'" \
-	"2\n0\nOk\n" "" ""
+	"1073741826\n0\nOk\n" "" ""
 
 prg='
 BEGIN {
diff --git a/testsuite/pidof.tests b/testsuite/pidof.tests
index 2a06d2b..405c14f 100755
--- a/testsuite/pidof.tests
+++ b/testsuite/pidof.tests
@@ -16,6 +16,7 @@ testing "pidof (exit with success)" "pidof pidof > /dev/null; echo \$?" \
 	"0\n" "" ""
 # We can get away with this because it says #!/bin/sh up top.
 
+true pidof.tests does not return anything on this system || \
 testing "pidof this" "pidof pidof.tests | grep -o -w $$" "$$\n" "" ""
 
 optional FEATURE_PIDOF_SINGLE
diff --git a/testsuite/tar.tests b/testsuite/tar.tests
index 7927020..d6dceba 100755
--- a/testsuite/tar.tests
+++ b/testsuite/tar.tests
@@ -82,6 +82,7 @@ Ok: 0
 SKIP=
 
 optional FEATURE_TAR_CREATE FEATURE_LS_SORTFILES
+true "no hardlinked symlinks" || \
 testing "tar symlinks mode" '\
 rm -rf input_* test.tar 2>/dev/null
 >input_file