File posh-debian-0.14.1.patch of Package posh

---
 tests/error.t |    4 ++--
 tests/token.t |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

--- tests/error.t
+++ tests/error.t	2024-09-12 09:16:31.520414309 +0000
@@ -16,9 +16,9 @@ description:
 	exit status.
 category: debian,posix
 stdin:
-	TEMPFILE=$(tempfile --prefix posix)
+	TEMPFILE=$(mktemp posix.XXXXXXXX)
 	chmod 0 $TEMPFILE
-	($TEMPFILE) 2>/dev/null || echo $?
+	(./$TEMPFILE) 2>/dev/null || echo $?
 	rm -f $TEMPFILE
 expected-stdout:
 	126
--- tests/token.t
+++ tests/token.t	2024-09-12 09:16:22.672576841 +0000
@@ -99,7 +99,7 @@ description:
 	Check file redirection
 category: debian,posix
 stdin:
-	TEMPFILE=$(tempfile --prefix posix)
+	TEMPFILE=$(mktemp posix.XXXXXXXX)
 	echo Sesame >$TEMPFILE
 	exec 8<$TEMPFILE
 	read LINE <&8
@@ -124,7 +124,7 @@ description:
 	Check random access
 category: debian,posix
 stdin:
-	TEMPFILE=$(tempfile --prefix posix)
+	TEMPFILE=$(mktemp posix.XXXXXXXX)
 	echo Sesame oil >$TEMPFILE
 	echo Snake oil >>$TEMPFILE
 	echo Baby oil >>$TEMPFILE
openSUSE Build Service is sponsored by