Skip to content

Commit

Permalink
more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
vito committed Apr 17, 2023
1 parent 576d9ab commit 4b3a9f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/runtimes/testdata/cache-sync.bass
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
(defn counter [tag]
(subpath
(from alpine
(-> ($ sh -c "echo BEFORE; cat /var/cache/file; echo $0 >> /var/cache/file; echo AFTER; cat /var/cache/file; cat /var/cache/file | wc -l > count"
(-> ($ sh -xc "echo BEFORE; cat /var/cache/file; echo $0 >> /var/cache/file; echo AFTER; cat /var/cache/file; wc -l /var/cache/file; cat /var/cache/file | wc -l > count"
$tag)
(with-mount test-cache-path /var/cache/)))
./count))
Expand All @@ -23,5 +23,5 @@
(read :lines)
all)))

(assert = ["1" "2" "3" "4" "5" "6" "7" "8" "9" "10"]
(counts "a" "b" "c" "d" "e" "f" "g" "h" "i" "j"))
(assert = ["1" "2" "3" "4" "5" "6"]
(counts "a" "b" "c" "d" "e" "f"))

0 comments on commit 4b3a9f0

Please sign in to comment.