Linux DTrace development list
 help / color / mirror / Atom feed
* [PATCH 1/6] test: fix missing line continuation in tst.perf-types.sh
@ 2024-08-29 20:15 Sam James
  2024-08-29 20:15 ` [PATCH 2/6] test: fix broken shebang in tst.plddGrab32.sh Sam James
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Sam James @ 2024-08-29 20:15 UTC (permalink / raw)
  To: dtrace; +Cc: Sam James

shellcheck reports:
```
In test/unittest/sdt/tst.perf-types.sh line 14:
    -n 'END / hitany == 0 / { exit(1); }'
    ^-- SC2215 (warning): This flag is used as a command name. Bad line break or missing [ .. ]?
```

Add the missing '\'.
---
 test/unittest/sdt/tst.perf-types.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/unittest/sdt/tst.perf-types.sh b/test/unittest/sdt/tst.perf-types.sh
index 636ed029..2b076110 100755
--- a/test/unittest/sdt/tst.perf-types.sh
+++ b/test/unittest/sdt/tst.perf-types.sh
@@ -10,5 +10,5 @@
 dtrace=$1
 
 exec $dtrace $dt_flags -c "find /dev/dtrace -exec /bin/true ;" \
-    -n 'perf:::sched_process_fork { trace(args[0]->pid); trace (args[1]->pid); hitany = 1; }'
+    -n 'perf:::sched_process_fork { trace(args[0]->pid); trace (args[1]->pid); hitany = 1; }' \
     -n 'END / hitany == 0 / { exit(1); }'

base-commit: 98848d2e4994e916317db3328dc560128235791a
-- 
2.46.0


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-10-12  3:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-29 20:15 [PATCH 1/6] test: fix missing line continuation in tst.perf-types.sh Sam James
2024-08-29 20:15 ` [PATCH 2/6] test: fix broken shebang in tst.plddGrab32.sh Sam James
2024-10-12  3:30   ` Kris Van Hees
2024-08-29 20:15 ` [PATCH 3/6] test: awk -> gawk where we use strtonum Sam James
2024-10-12  3:30   ` Kris Van Hees
2024-08-29 20:15 ` [PATCH 4/6] test: fix 'CPU' typo Sam James
2024-10-12  3:30   ` Kris Van Hees
2024-08-29 20:15 ` [PATCH 5/6] test: libproc: cater to merged-usr systems Sam James
2024-10-12  3:30   ` Kris Van Hees
2024-08-29 20:15 ` [PATCH 6/6] test: awk -> gawk universally Sam James
2024-10-12  3:31   ` Kris Van Hees
2024-10-12  3:29 ` [PATCH 1/6] test: fix missing line continuation in tst.perf-types.sh Kris Van Hees

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox