cmd/txtar-addmod/testdata/txtar-addmod-self.txt
raw| 1 | mkdir $WORK/out |
| 2 | txtar-addmod $WORK/out github.com/gobin-testrepos/simple-main |
| 3 | ! stdout .+ |
| 4 | ! stderr .+ |
| 5 | exists $WORK/out/github.com_gobin-testrepos_simple-main_v1.0.0.txtar |
| 6 | ! grep foobar $WORK/out/github.com_gobin-testrepos_simple-main_v1.0.0.txtar |
| 7 | |
| 8 | txtar-addmod -all $WORK/out github.com/gobin-testrepos/simple-main |
| 9 | grep '-- foobar --' $WORK/out/github.com_gobin-testrepos_simple-main_v1.0.0.txtar |