Skip to content

Commit

Permalink
eliminate explicit paths from smoke test results, correcting example_…
Browse files Browse the repository at this point in the history
…shebang.cmd and #!icon.cmd
  • Loading branch information
eschen42 committed Aug 11, 2021
1 parent 8b5b1e1 commit dcb4a5f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
17 changes: 16 additions & 1 deletion examples/#!icon.cmd
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
@type %~dpnsx1| call %~dps0\..\icon.cmd - %*
@echo off
setlocal
set ARGS=
set ARG0=%~dps0
set ARG1dpnsx=%~dpnsx1
shift

:more_args
set ARG=%1
if not defined ARG goto got_args
set ARGS=%ARGS% %ARG%
shift
goto more_args

:got_args
type %ARG1dpnsx% | call %ARG0%\..\icon.cmd - %ARGS%
1 change: 0 additions & 1 deletion examples/example_shebang.cmd
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
procedure main(args)
every write(!args)
every write(&features)
write(&progname)
write(&version)
end

2 changes: 0 additions & 2 deletions examples/smoke_test.output.expected.txt
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ system function
Icon-2 Version 9.3.2. February 20, 1999

------- Test eight - Shebang example [8] ---------
C:\Users\art\src\portable_icon_932\examples\example_shebang.cmd
eight
is
enough
Expand All @@ -136,7 +135,6 @@ external functions
keyboard functions
large integers
system function
C:\Users\art\src\PORTAB~1\examples\-.bat
Icon-2 Version 9.3.2. February 20, 1999

------- Test nine - icon invokes icont and iconx [9] ---------
Expand Down

0 comments on commit dcb4a5f

Please sign in to comment.